aboutsummaryrefslogtreecommitdiff
path: root/net/802
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-02-11 06:25:24 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-11 14:16:26 -0500
commit7e307c67c94619fa53b22735673fbf99b427e760 (patch)
tree7ca06d3420db648d5b5fde3692a1a47eba88794d /net/802
parent954b1244530064d48dde133f906026e56ba0ae56 (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')
-rw-r--r--net/802/mrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/802/mrp.c b/net/802/mrp.c
index 47a9e14c8ba..a4cc3229952 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);