diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-02-11 07:25:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-11 20:16:26 +0100 |
commit | 7e307c67c94619fa53b22735673fbf99b427e760 (patch) | |
tree | 7ca06d3420db648d5b5fde3692a1a47eba88794d /net/802/mrp.c | |
parent | ethtool: fix sparse warning (diff) | |
download | linux-7e307c67c94619fa53b22735673fbf99b427e760.tar.xz linux-7e307c67c94619fa53b22735673fbf99b427e760.zip |
mrp: make mrp_rcv static
Sparse spotted local function that could be static.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802/mrp.c')
-rw-r--r-- | net/802/mrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/802/mrp.c b/net/802/mrp.c index 47a9e14c8ba7..a4cc3229952a 100644 --- a/net/802/mrp.c +++ b/net/802/mrp.c @@ -744,8 +744,8 @@ static int mrp_pdu_parse_msg(struct mrp_applicant *app, struct sk_buff *skb, return 0; } -int mrp_rcv(struct sk_buff *skb, struct net_device *dev, - struct packet_type *pt, struct net_device *orig_dev) +static int mrp_rcv(struct sk_buff *skb, struct net_device *dev, + struct packet_type *pt, struct net_device *orig_dev) { struct mrp_application *appl = container_of(pt, struct mrp_application, pkttype); |