Skip to content

Commit

Permalink
mrp: make mrp_rcv static
Browse files Browse the repository at this point in the history
Sparse spotted local function that could be static.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
shemminger authored and davem330 committed Feb 11, 2013
1 parent 954b124 commit 7e307c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/802/mrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7e307c6

Please sign in to comment.