Skip to content

Commit 829eb05

Browse files
Colin Ian Kingdavem330
authored andcommitted
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>
1 parent 3531456 commit 829eb05

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/sfc

1 file changed

+1
-0
lines changed

drivers/net/ethernet/sfc/efx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3180,6 +3180,7 @@ bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx,
31803180
return true;
31813181
}
31823182

3183+
static
31833184
struct hlist_head *efx_rps_hash_bucket(struct efx_nic *efx,
31843185
const struct efx_filter_spec *spec)
31853186
{

0 commit comments

Comments
 (0)