Commit d6e89c0b authored by Silviu-Mihai Popescu's avatar Silviu-Mihai Popescu Committed by David S. Miller

caif_dev: fix sparse warnings for caif_flow_cb

This fixed the following sparse warning:
net/caif/caif_dev.c:121:6: warning: symbol 'caif_flow_cb' was not
declared. Should it be static?
Signed-off-by: default avatarSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e2ca90c2
...@@ -118,7 +118,7 @@ static struct caif_device_entry *caif_get(struct net_device *dev) ...@@ -118,7 +118,7 @@ static struct caif_device_entry *caif_get(struct net_device *dev)
return NULL; return NULL;
} }
void caif_flow_cb(struct sk_buff *skb) static void caif_flow_cb(struct sk_buff *skb)
{ {
struct caif_device_entry *caifd; struct caif_device_entry *caifd;
void (*dtor)(struct sk_buff *skb) = NULL; void (*dtor)(struct sk_buff *skb) = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment