cxgb4: make function ch_flower_stats_cb, fixes warning
authorColin Ian King <colin.king@canonical.com>
Tue, 26 Sep 2017 15:14:09 +0000 (16:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:21:37 +0000 (10:21 -0700)
commit4d8806fd14e1492cd4fb2021f709b163ea3364ad
tree299e466433310a35fc8ef9b3fa8d2b239ea3dd81
parentf46d96328671bc7eaec039aed81f9bffddbf0df1
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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c