Преглед изворни кода

r8169: remove unused variable

all references got removed by 865c652d6be9929927cabdc54b137b7541eb6612
(r8169: remove non-napi code).

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Florian Westphal пре 16 година
родитељ
комит
40c27eeac4
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      drivers/net/r8169.c

+ 0 - 3
drivers/net/r8169.c

@@ -51,9 +51,6 @@
 #define TX_BUFFS_AVAIL(tp) \
 #define TX_BUFFS_AVAIL(tp) \
 	(tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)
 	(tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)
 
 
-/* Maximum events (Rx packets, etc.) to handle at each interrupt. */
-static const int max_interrupt_work = 20;
-
 /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
 /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
    The RTL chips use a 64 element hash table based on the Ethernet CRC. */
    The RTL chips use a 64 element hash table based on the Ethernet CRC. */
 static const int multicast_filter_limit = 32;
 static const int multicast_filter_limit = 32;