drivers: net: xgene: Remove unused macros
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:04 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:09 +0000 (11:41 -0400)
This patch cleans up unused macros to improve readability.

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h

index 3ce349f96c8d28518b8d05cd2adc6e2c95099676..ed5100529cff672ee6e2b31272e512142e7523bc 100644 (file)
@@ -217,12 +217,6 @@ enum xgene_enet_rm {
 #define FULL_DUPLEX2                   BIT(0)
 #define PAD_CRC                                BIT(2)
 #define LENGTH_CHK                     BIT(4)
-#define SCAN_AUTO_INCR                 BIT(5)
-#define TBYT_ADDR                      0x38
-#define TPKT_ADDR                      0x39
-#define TDRP_ADDR                      0x45
-#define TFCS_ADDR                      0x47
-#define TUND_ADDR                      0x4a
 
 #define TSO_IPPROTO_TCP                        1