mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user