Skip to content
Snippets Groups Projects
Commit b8d4fad3 authored by Andre Przywara's avatar Andre Przywara Committed by Tom Rini
Browse files

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: default avatarAndre Przywara <andre.przywara@arm.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 063bb708
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment