projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954b124
)
mrp: make mrp_rcv static
author
Stephen Hemminger
<
[email protected]
>
Mon, 11 Feb 2013 06:25:24 +0000
(06:25 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 11 Feb 2013 19:16:26 +0000
(14:16 -0500)
Sparse spotted local function that could be static.
Signed-off-by: Stephen Hemminger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/802/mrp.c
patch
|
blob
|
history
diff --git
a/net/802/mrp.c
b/net/802/mrp.c
index 47a9e14c8ba7a64c5f7f144b83b2e48bc3cb7cd0..a4cc3229952a17d387411cded9bc66d940b9929f 100644
(file)
--- a/
net/802/mrp.c
+++ b/
net/802/mrp.c
@@
-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);