Skip to contentSkip to conversation

mrp: make mrp_rcv static

PATCH Applied Stephen Hemminger 2 participants 2 messages Feb 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mrp: make mrp_rcv static

Sparse spotted local function that could be static.

net/802/mrp.c +2 -2
@@ -744,8 +744,8 @@ static int mrp_pdu_parse_msg(struct mrp_
 	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);