diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-02-11 01:25:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-11 14:16:26 -0500 |
commit | 7e307c67c94619fa53b22735673fbf99b427e760 (patch) | |
tree | 7ca06d3420db648d5b5fde3692a1a47eba88794d /net/802/mrp.c | |
parent | 954b1244530064d48dde133f906026e56ba0ae56 (diff) |
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, | |||
744 | return 0; | 744 | return 0; |
745 | } | 745 | } |
746 | 746 | ||
747 | int mrp_rcv(struct sk_buff *skb, struct net_device *dev, | 747 | static int mrp_rcv(struct sk_buff *skb, struct net_device *dev, |
748 | struct packet_type *pt, struct net_device *orig_dev) | 748 | struct packet_type *pt, struct net_device *orig_dev) |
749 | { | 749 | { |
750 | struct mrp_application *appl = container_of(pt, struct mrp_application, | 750 | struct mrp_application *appl = container_of(pt, struct mrp_application, |
751 | pkttype); | 751 | pkttype); |