Patchwork stmmac: remove two repeated macros

login
register
mail settings
Submitter walimis
Date Dec. 3, 2012, 12:19 p.m.
Message ID <1354537184-1423-1-git-send-email-walimisdev@gmail.com>
Download mbox | patch
Permalink /patch/203332/
State Accepted
Delegated to: David Miller
Headers show

Comments

walimis - Dec. 3, 2012, 12:19 p.m.
Two macros have been defined twice, remove them.

Signed-off-by: Liming Wang <walimisdev@gmail.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h |    2 --
 1 file changed, 2 deletions(-)
David Miller - Dec. 3, 2012, 6:35 p.m.
From: Liming Wang <walimisdev@gmail.com>
Date: Mon,  3 Dec 2012 20:19:44 +0800

> Two macros have been defined twice, remove them.
> 
> Signed-off-by: Liming Wang <walimisdev@gmail.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
index e49c9a0..d064d92 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h
@@ -77,8 +77,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 */