]> Pileus Git - ~andy/linux/commitdiff
stmmac: remove two repeated macros
authorwalimis <walimisdev@gmail.com>
Mon, 3 Dec 2012 02:19:44 +0000 (02:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2012 18:35:36 +0000 (13:35 -0500)
Two macros have been defined twice, remove them.

Signed-off-by: Liming Wang <walimisdev@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h

index 807f30371e49415593cb6bbff74ca733a9f02388..ab4896ecac1c531814aec2e07fbe199b5e965495 100644 (file)
@@ -80,8 +80,6 @@
 #define DMA_STATUS_GPI         0x10000000      /* PMT interrupt */
 #define DMA_STATUS_GMI         0x08000000      /* MMC interrupt */
 #define DMA_STATUS_GLI         0x04000000      /* GMAC Line interface int */
 #define DMA_STATUS_GPI         0x10000000      /* PMT interrupt */
 #define DMA_STATUS_GMI         0x08000000      /* MMC interrupt */
 #define DMA_STATUS_GLI         0x04000000      /* GMAC Line interface int */
-#define DMA_STATUS_GMI         0x08000000
-#define DMA_STATUS_GLI         0x04000000
 #define DMA_STATUS_EB_MASK     0x00380000      /* Error Bits Mask */
 #define DMA_STATUS_EB_TX_ABORT 0x00080000      /* Error Bits - TX Abort */
 #define DMA_STATUS_EB_RX_ABORT 0x00100000      /* Error Bits - RX Abort */
 #define DMA_STATUS_EB_MASK     0x00380000      /* Error Bits Mask */
 #define DMA_STATUS_EB_TX_ABORT 0x00080000      /* Error Bits - TX Abort */
 #define DMA_STATUS_EB_RX_ABORT 0x00100000      /* Error Bits - RX Abort */