mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 09:51:21 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
527c1e615b
commit
1b0cde4091
@@ -948,8 +948,8 @@ static int siena_mtd_probe(struct efx_nic *efx)
|
||||
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user