diff options
author | David Ahern <dsahern@gmail.com> | 2017-05-28 01:19:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-30 18:55:33 +0300 |
commit | d4e7256007b0763614a41c9c0a5a943dc1095b22 (patch) | |
tree | 4047beadf29670b5c1f051164c1d1324e487624e /net/mpls/internal.h | |
parent | 074350e2ebcab9cf62528984a617cc0a05b24fff (diff) | |
download | linux-d4e7256007b0763614a41c9c0a5a943dc1095b22.tar.xz |
net: mpls: Make nla_get_via in af_mpls.c
nla_get_via is only used in af_mpls.c. Remove declaration from internal.h
and move up in af_mpls.c before first use. Code move only; no
functional change intended.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/internal.h')
-rw-r--r-- | net/mpls/internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mpls/internal.h b/net/mpls/internal.h index a015a6a1143b..cf65aec2e551 100644 --- a/net/mpls/internal.h +++ b/net/mpls/internal.h @@ -204,8 +204,6 @@ int nla_put_labels(struct sk_buff *skb, int attrtype, u8 labels, const u32 label[]); int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, u32 label[], struct netlink_ext_ack *extack); -int nla_get_via(const struct nlattr *nla, u8 *via_alen, u8 *via_table, - u8 via[], struct netlink_ext_ack *extack); bool mpls_output_possible(const struct net_device *dev); unsigned int mpls_dev_mtu(const struct net_device *dev); bool mpls_pkt_too_big(const struct sk_buff *skb, unsigned int mtu); |