aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/net_driver.h
diff options
context:
space:
mode:
authorMartin Habets <habetsm.xilinx@gmail.com>2022-04-11 12:27:20 +0100
committerPaolo Abeni <pabeni@redhat.com>2022-04-12 12:13:30 +0200
commitd78eaf06b5d9f4686846ca4e35207025c415ba85 (patch)
tree03cf775f017160b476d1ab4315ae84e2ff6f9a66 /drivers/net/ethernet/sfc/net_driver.h
parentsfc: Remove duplicate definition of efx_xmit_done (diff)
downloadlinux-dev-d78eaf06b5d9f4686846ca4e35207025c415ba85.tar.xz
linux-dev-d78eaf06b5d9f4686846ca4e35207025c415ba85.zip
sfc: Remove global definition of efx_reset_type_names
The strings are only used in efx_common.c so the definitions can be static in there. Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index c75dc75e2857..318db906a154 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -612,11 +612,6 @@ extern const unsigned int efx_loopback_mode_max;
#define LOOPBACK_MODE(efx) \
STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_loopback_mode)
-extern const char *const efx_reset_type_names[];
-extern const unsigned int efx_reset_type_max;
-#define RESET_TYPE(type) \
- STRING_TABLE_LOOKUP(type, efx_reset_type)
-
enum efx_int_mode {
/* Be careful if altering to correct macro below */
EFX_INT_MODE_MSIX = 0,