Commit 1b0cde40 authored by Edward Cree's avatar Edward Cree Committed by David S. Miller

sfc: siena_check_caps() can be static

Reported-by: default avatarJakub Kicinski <kuba@kernel.org>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 527c1e61
...@@ -948,8 +948,8 @@ static int siena_mtd_probe(struct efx_nic *efx) ...@@ -948,8 +948,8 @@ static int siena_mtd_probe(struct efx_nic *efx)
#endif /* CONFIG_SFC_MTD */ #endif /* CONFIG_SFC_MTD */
unsigned int siena_check_caps(const struct efx_nic *efx, static unsigned int siena_check_caps(const struct efx_nic *efx,
u8 flag, u32 offset) u8 flag, u32 offset)
{ {
/* Siena did not support MC_CMD_GET_CAPABILITIES */ /* Siena did not support MC_CMD_GET_CAPABILITIES */
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment