Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Edward Cree and committed by
David S. Miller
1b0cde40 527c1e61

+2 -2
+2 -2
drivers/net/ethernet/sfc/siena.c
··· 948 948 949 949 #endif /* CONFIG_SFC_MTD */ 950 950 951 - unsigned int siena_check_caps(const struct efx_nic *efx, 952 - u8 flag, u32 offset) 951 + static unsigned int siena_check_caps(const struct efx_nic *efx, 952 + u8 flag, u32 offset) 953 953 { 954 954 /* Siena did not support MC_CMD_GET_CAPABILITIES */ 955 955 return 0;