Blob Blame History Raw
From: Colin Ian King <colin.king@canonical.com>
Date: Sun, 24 Jun 2018 11:57:31 +0100
Subject: sfc: make function efx_rps_hash_bucket static
Patch-mainline: v4.18-rc3
Git-commit: 829eb05365ff06e8adc23f2541597d0cc3c18348
References: bsc#1105555 FATE#326117

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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/net/ethernet/sfc/efx.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -3181,6 +3181,7 @@ bool efx_rps_check_rule(struct efx_arfs_
 	return true;
 }
 
+static
 struct hlist_head *efx_rps_hash_bucket(struct efx_nic *efx,
 				       const struct efx_filter_spec *spec)
 {