From: Colin Ian King Date: Sun, 24 Jun 2018 10:57:31 +0000 (+0100) Subject: sfc: make function efx_rps_hash_bucket static X-Git-Tag: v4.19~718^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=829eb05365ff06e8adc23f2541597d0cc3c18348;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index ad4a354..570ec72 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c @@ -3180,6 +3180,7 @@ bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, return true; } +static struct hlist_head *efx_rps_hash_bucket(struct efx_nic *efx, const struct efx_filter_spec *spec) {