sfc: siena_check_caps() can be static
authorEdward Cree <ecree@solarflare.com>
Tue, 12 May 2020 13:24:58 +0000 (14:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2020 19:47:40 +0000 (12:47 -0700)
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>
drivers/net/ethernet/sfc/siena.c

index d8b052979b1bc445a299c370417271d2c758bea5..891e9fb6abecaf88cb47e68287e475bc54657aee 100644 (file)
@@ -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;