summaryrefslogtreecommitdiff
path: root/include/net/netns/mpls.h
blob: d29203651c01700d9406157ef8dd016ea55a4cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * mpls in net namespaces
 */

#ifndef __NETNS_MPLS_H__
#define __NETNS_MPLS_H__

struct mpls_route;
struct ctl_table_header;

struct netns_mpls {
	size_t platform_labels;
	struct mpls_route __rcu * __rcu *platform_label;
	struct ctl_table_header *ctl;
};

#endif /* __NETNS_MPLS_H__ */
f3caa531f369c1e3a5f1a8b555f'>7c3a23b85cac5f3caa531f369c1e3a5f1a8b555f (patch) tree0a86c8d427acdebfd70f198751f0334c0a9ba656 parent6c73f949300f17851f53fa80c9d1611ccd6909d3 (diff)
nvmet/fcloop: remove some logically dead code performing redundant ret checks
The check to see if ret is non-zero and return this rather than count is redundant in two occassions. It is redundant because prior to this check, the return code ret is already checked for a non-zero error return value and we return from the function at that point. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat