Skip to content
Snippets Groups Projects
Commit 4d8806fd authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -366,7 +366,7 @@ int cxgb4_tc_flower_destroy(struct net_device *dev,
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 ch_tc_flower_entry *flower_entry;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment