[PATCH] stmmac: remove two repeated macros

Subsystems: networking drivers, stmmac ethernet driver, the rest

STALE5002d

2 messages, 2 authors, 2012-12-03 · open the first message on its own page

[PATCH] stmmac: remove two repeated macros

From: Liming Wang <hidden>
Date: 2012-12-03 12:20:08

Two macros have been defined twice, remove them.

Signed-off-by: Liming Wang <redacted>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h |    2 --
 1 file changed, 2 deletions(-)
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 */
-- 
1.7.9.5

Re: [PATCH] stmmac: remove two repeated macros

From: David Miller <davem@davemloft.net>
Date: 2012-12-03 18:35:51

From: Liming Wang <redacted>
Date: Mon,  3 Dec 2012 20:19:44 +0800
Two macros have been defined twice, remove them.

Signed-off-by: Liming Wang <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help