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:
parent
f46d963286
commit
4d8806fd14
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue