Skip to contentSkip to conversation

net: rtl8139: drop unused rtl8139_intr_mask constant

PATCH Applied Antony Pavlov 2 participants 2 messages May 3, 2017 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: rtl8139: drop unused rtl8139_intr_mask constant

---
 drivers/net/rtl8139.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/net/rtl8139.c +0 -4
index a9eb865358..cfa34a2f2a 100644
@@ -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;
Signature · 7 lines
2.11.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Antony Pavlov
---
 drivers/net/rtl8139.c | 4 ----
 1 file changed, 4 deletions(-)

Applied, thanks

Sascha

Quoted 20 lines
drivers/net/rtl8139.c +0 -4
index a9eb865358..cfa34a2f2a 100644
@@ -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;
Signature · 1 line
2.11.0
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox