OSDN Git Service

sfc: make function efx_rps_hash_bucket static
authorColin Ian King <colin.king@canonical.com>
Sun, 24 Jun 2018 10:57:31 +0000 (11:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2018 14:08:25 +0000 (23:08 +0900)
commit829eb05365ff06e8adc23f2541597d0cc3c18348
tree5983432405c7c5cd1c68bad7a7735df7c6d29a26
parent3531456aba6c8a8c905730af96dbb83608538b71
sfc: make function efx_rps_hash_bucket static

The function efx_rps_hash_bucket is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'efx_rps_hash_bucket' 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/sfc/efx.c