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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Colin Ian King 2017-09-26 16:14:09 +01:00 committed by David S. Miller
parent f46d963286
commit 4d8806fd14
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ err:
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;