aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu2013-03-02 03:45:19 -0600
committerDavid S. Miller2013-03-03 00:43:48 -0600
commitd6e89c0b7660bd725a0948126f9db1a327f48d76 (patch)
treea7670aeb7cd3e2918115fdd5bf19f9a11f858c0c
parente2ca90c276e1fc410d7cd3c1a4eee245ec902a20 (diff)
downloadam43-linux-kernel-d6e89c0b7660bd725a0948126f9db1a327f48d76.tar.gz
am43-linux-kernel-d6e89c0b7660bd725a0948126f9db1a327f48d76.tar.xz
am43-linux-kernel-d6e89c0b7660bd725a0948126f9db1a327f48d76.zip
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 <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/caif/caif_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c
index 1ae1d9cb278..21760f00897 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)
118 return NULL; 118 return NULL;
119} 119}
120 120
121void caif_flow_cb(struct sk_buff *skb) 121static void caif_flow_cb(struct sk_buff *skb)
122{ 122{
123 struct caif_device_entry *caifd; 123 struct caif_device_entry *caifd;
124 void (*dtor)(struct sk_buff *skb) = NULL; 124 void (*dtor)(struct sk_buff *skb) = NULL;