From: Edward Cree Date: Tue, 12 May 2020 13:24:58 +0000 (+0100) Subject: sfc: siena_check_caps() can be static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1b0cde4091877cd7fe4b29f67645cc391b86c9ca;p=linux.git sfc: siena_check_caps() can be static Reported-by: Jakub Kicinski Reported-by: kbuild test robot Signed-off-by: Edward Cree Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index d8b052979b1bc..891e9fb6abeca 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -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;