summaryrefslogtreecommitdiff
path: root/drivers/net/rtl8169.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-11-16 00:50:09 +0000
committerTom Rini <trini@konsulko.com>2016-12-04 13:55:01 -0500
commitb8d4fad3bcf606b286962cc0c2251ec6be7d7909 (patch)
tree832e213b14e1609c85aa04bdc7cbd7382babbc58 /drivers/net/rtl8169.c
parent063bb708b59c882dcd7ec08a370c0e5773b3c772 (diff)
net: rtl8169: remove unneeded definition
The rtl8169_intr_mask variable isn't used anywhere in the code, so just remove it to avoid a GCC 6.2 compiler warning. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/rtl8169.c')
-rw-r--r--drivers/net/rtl8169.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index a3f4423a20..5297e300a7 100644
--- a/drivers/net/rtl8169.c
+++ b/drivers/net/rtl8169.c
@@ -339,9 +339,6 @@ struct rtl8169_private {
static struct rtl8169_private *tpc;
-static const u16 rtl8169_intr_mask =
- SYSErr | PCSTimeout | RxUnderrun | RxOverflow | RxFIFOOver | TxErr |
- TxOK | RxErr | RxOK;
static const unsigned int rtl8169_rx_config =
(RX_FIFO_THRESH << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift);