Commit 4d8806fd authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

cxgb4: make function ch_flower_stats_cb, fixes warning

The function ch_flower_stats_cb is local to the source and does not need
to be in global scope, so make it static.

Cleans up sparse warnings:
symbol 'ch_flower_stats_cb' was not declared. Should it be static?
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f46d9632
...@@ -366,7 +366,7 @@ int cxgb4_tc_flower_destroy(struct net_device *dev, ...@@ -366,7 +366,7 @@ int cxgb4_tc_flower_destroy(struct net_device *dev,
return ret; return ret;
} }
void ch_flower_stats_cb(unsigned long data) static void ch_flower_stats_cb(unsigned long data)
{ {
struct adapter *adap = (struct adapter *)data; struct adapter *adap = (struct adapter *)data;
struct ch_tc_flower_entry *flower_entry; struct ch_tc_flower_entry *flower_entry;
......
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