diff options
Diffstat (limited to 'drivers/net/sfc/enum.h')
-rw-r--r-- | drivers/net/sfc/enum.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/sfc/enum.h b/drivers/net/sfc/enum.h index 60cbc6e1e66b..fcd14b73f24d 100644 --- a/drivers/net/sfc/enum.h +++ b/drivers/net/sfc/enum.h | |||
@@ -40,12 +40,6 @@ enum efx_loopback_mode { | |||
40 | 40 | ||
41 | #define LOOPBACK_TEST_MAX LOOPBACK_PMAPMD | 41 | #define LOOPBACK_TEST_MAX LOOPBACK_PMAPMD |
42 | 42 | ||
43 | extern const char *efx_loopback_mode_names[]; | ||
44 | #define LOOPBACK_MODE_NAME(mode) \ | ||
45 | STRING_TABLE_LOOKUP(mode, efx_loopback_mode) | ||
46 | #define LOOPBACK_MODE(efx) \ | ||
47 | LOOPBACK_MODE_NAME(efx->loopback_mode) | ||
48 | |||
49 | /* These loopbacks occur within the controller */ | 43 | /* These loopbacks occur within the controller */ |
50 | #define LOOPBACKS_INTERNAL ((1 << LOOPBACK_GMAC) | \ | 44 | #define LOOPBACKS_INTERNAL ((1 << LOOPBACK_GMAC) | \ |
51 | (1 << LOOPBACK_XGMII)| \ | 45 | (1 << LOOPBACK_XGMII)| \ |