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>
This commit is contained in:
parent
954b124453
commit
7e307c67c9
|
@ -744,8 +744,8 @@ static int mrp_pdu_parse_msg(struct mrp_applicant *app, struct sk_buff *skb,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int mrp_rcv(struct sk_buff *skb, struct net_device *dev,
|
static int mrp_rcv(struct sk_buff *skb, struct net_device *dev,
|
||||||
struct packet_type *pt, struct net_device *orig_dev)
|
struct packet_type *pt, struct net_device *orig_dev)
|
||||||
{
|
{
|
||||||
struct mrp_application *appl = container_of(pt, struct mrp_application,
|
struct mrp_application *appl = container_of(pt, struct mrp_application,
|
||||||
pkttype);
|
pkttype);
|
||||||
|
|
Loading…
Reference in New Issue