Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;