diff options
author | Edward Cree <ecree@solarflare.com> | 2020-05-12 14:24:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-12 12:47:40 -0700 |
commit | 1b0cde4091877cd7fe4b29f67645cc391b86c9ca (patch) | |
tree | 664f279ab80f2083298e1f0cc751c6280bb7e881 /drivers/net/ethernet/sfc/siena.c | |
parent | 527c1e615b4c6616abb5c7b14c2ff5b04a029175 (diff) |
sfc: siena_check_caps() can be static
Reported-by: Jakub Kicinski <kuba@kernel.org>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena.c')
-rw-r--r-- | drivers/net/ethernet/sfc/siena.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index d8b052979b1b..891e9fb6abec 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -948,8 +948,8 @@ fail: #endif /* CONFIG_SFC_MTD */ -unsigned int siena_check_caps(const struct efx_nic *efx, - u8 flag, u32 offset) +static unsigned int siena_check_caps(const struct efx_nic *efx, + u8 flag, u32 offset) { /* Siena did not support MC_CMD_GET_CAPABILITIES */ return 0; |