diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2016-03-04 17:04:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-07 14:56:41 -0500 |
commit | 49cc66eaee19e772997b63b057ea4b4bf7d48db0 (patch) | |
tree | 94239e052435b3c2d505c8be6e2f7582db5d1da8 /net/tipc/link.c | |
parent | 8dfd329fbc240729938d24bf87aca49ea89289c5 (diff) | |
download | blackbird-op-linux-49cc66eaee19e772997b63b057ea4b4bf7d48db0.tar.gz blackbird-op-linux-49cc66eaee19e772997b63b057ea4b4bf7d48db0.zip |
tipc: move netlink policies to netlink.c
Make the c files less cluttered and enable netlink attributes to be
shared between files.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r-- | net/tipc/link.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index fc2fa833749e..7d2bb3e70baa 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -192,14 +192,6 @@ struct tipc_link { static const char *link_co_err = "Link tunneling error, "; static const char *link_rst_msg = "Resetting link "; -/* Properties valid for media, bearar and link */ -static const struct nla_policy tipc_nl_prop_policy[TIPC_NLA_PROP_MAX + 1] = { - [TIPC_NLA_PROP_UNSPEC] = { .type = NLA_UNSPEC }, - [TIPC_NLA_PROP_PRIO] = { .type = NLA_U32 }, - [TIPC_NLA_PROP_TOL] = { .type = NLA_U32 }, - [TIPC_NLA_PROP_WIN] = { .type = NLA_U32 } -}; - /* Send states for broadcast NACKs */ enum { |