projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527c1e6
)
sfc: siena_check_caps() can be static
author
Edward Cree
<ecree@solarflare.com>
Tue, 12 May 2020 13:24:58 +0000
(14:24 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/siena.c
b/drivers/net/ethernet/sfc/siena.c
index d8b052979b1bc445a299c370417271d2c758bea5..891e9fb6abecaf88cb47e68287e475bc54657aee 100644
(file)
--- 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;