netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] mrp: make mrp_rcv static
@ 2013-02-11 16:25 Stephen Hemminger
  2013-02-11 19:18 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2013-02-11 16:25 UTC (permalink / raw)
  To: David Miller, David Ward; +Cc: netdev

Sparse spotted local function that could be static.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>


--- a/net/802/mrp.c	2013-02-11 08:13:10.324575963 -0800
+++ b/net/802/mrp.c	2013-02-11 08:23:13.076756457 -0800
@@ -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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-11 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 16:25 [PATCH net-next] mrp: make mrp_rcv static Stephen Hemminger
2013-02-11 19:18 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).