From: Stephen Hemminger Date: Mon, 11 Feb 2013 06:25:24 +0000 (+0000) Subject: mrp: make mrp_rcv static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7e307c67c94619fa53b22735673fbf99b427e760;p=linux-beck.git mrp: make mrp_rcv static Sparse spotted local function that could be static. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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);