netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] stmmac: remove two repeated macros
@ 2012-12-03 12:19 Liming Wang
  2012-12-03 18:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Wang @ 2012-12-03 12:19 UTC (permalink / raw)
  To: Giuseppe CAVALLARO, David Miller; +Cc: netdev

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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] stmmac: remove two repeated macros
  2012-12-03 12:19 [PATCH] stmmac: remove two repeated macros Liming Wang
@ 2012-12-03 18:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-12-03 18:35 UTC (permalink / raw)
  To: walimisdev; +Cc: peppe.cavallaro, netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-03 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 12:19 [PATCH] stmmac: remove two repeated macros Liming Wang
2012-12-03 18:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).