[PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant

Antony Pavlov antonynpavlov at gmail.com
Wed May 3 04:26:59 PDT 2017


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 drivers/net/rtl8139.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index a9eb865358..cfa34a2f2a 100644
--- a/drivers/net/rtl8139.c
+++ b/drivers/net/rtl8139.c
@@ -492,10 +492,6 @@ static int rtl8139_eth_send(struct eth_device *edev, void *packet,
 	return 0;
 }
 
-static const u16 rtl8139_intr_mask =
-		PCIErr | PCSTimeout | RxUnderrun | RxOverflow | RxFIFOOver |
-		TxErr | TxOK | RxErr | RxOK;
-
 static int rtl8139_eth_rx(struct eth_device *edev)
 {
 	struct rtl8139_priv *priv = edev->priv;
-- 
2.11.0




More information about the barebox mailing list