[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130211082524.5fb3a976@nehalam.linuxnetplumber.net>
Date: Mon, 11 Feb 2013 08:25:24 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Miller <davem@...emloft.net>,
David Ward <david.ward@...mit.edu>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next] mrp: make mrp_rcv static
Sparse spotted local function that could be static.
Signed-off-by: Stephen Hemminger <stephen@...workplumber.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);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists