Skip to content

Commit

Permalink
sfc: siena_check_caps() can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Edward Cree authored and David S. Miller committed May 12, 2020
1 parent 527c1e6 commit 1b0cde4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/sfc/siena.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1b0cde4

Please sign in to comment.