]> asedeno.scripts.mit.edu Git - linux.git/commit
net: stmmac: make tc_flow_parsers static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 15 Oct 2019 16:17:48 +0000 (17:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 03:56:53 +0000 (20:56 -0700)
commitbad28d889caea00bc9415c59fa6a433a72eeaf5e
tree4ffdc396bf386ae8b1ed215c0c3b8aa26e720271
parent539825a536040e09a2f26eb54bef206e8e8086b5
net: stmmac: make tc_flow_parsers static

The tc_flow_parsers is not used outside of the driver, so
make it static to avoid the following sparse warning:

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:516:3: warning: symbol 'tc_flow_parsers' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c