summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorwalimis <walimisdev@gmail.com>2012-12-03 02:19:44 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-03 13:35:36 -0500
commit3e14bd390ebe41e8b83855fd85fb64478c7c5ee2 (patch)
treee5e1c396479beb23ae6e302b6ab7a08ff121467e /drivers/net/ethernet/stmicro
parentf210e87b6d3aab1fb3eb51a006f4502c1a7a2494 (diff)
downloadblackbird-op-linux-3e14bd390ebe41e8b83855fd85fb64478c7c5ee2.tar.gz
blackbird-op-linux-3e14bd390ebe41e8b83855fd85fb64478c7c5ee2.zip
stmmac: remove two repeated macros
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
index 807f30371e49..ab4896ecac1c 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
@@ -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_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 */
OpenPOWER on IntegriCloud