From: Silviu-Mihai Popescu Date: Sat, 2 Mar 2013 09:45:19 +0000 (+0000) Subject: caif_dev: fix sparse warnings for caif_flow_cb X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6e89c0b7660bd725a0948126f9db1a327f48d76;p=linux-beck.git 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: Silviu-Mihai Popescu Signed-off-by: David S. Miller --- diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c index 1ae1d9cb278d..21760f008974 100644 --- a/net/caif/caif_dev.c +++ b/net/caif/caif_dev.c @@ -118,7 +118,7 @@ static struct caif_device_entry *caif_get(struct net_device *dev) return NULL; } -void caif_flow_cb(struct sk_buff *skb) +static void caif_flow_cb(struct sk_buff *skb) { struct caif_device_entry *caifd; void (*dtor)(struct sk_buff *skb) = NULL;