Patchwork r8169: remove unused variable

login
register
mail settings
Submitter Florian Westphal
Date June 18, 2009, 1:49 p.m.
Message ID <1245332989-26685-1-git-send-email-fw@strlen.de>
Download mbox | patch
Permalink /patch/28865/
State Accepted
Delegated to: David Miller
Headers show

Comments

Florian Westphal - June 18, 2009, 1:49 p.m.
all references got removed by 865c652d6be9929927cabdc54b137b7541eb6612
(r8169: remove non-napi code).

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
---
 drivers/net/r8169.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
David Miller - June 19, 2009, 7:25 a.m.
From: Florian Westphal <fw@strlen.de>
Date: Thu, 18 Jun 2009 15:49:49 +0200

> all references got removed by 865c652d6be9929927cabdc54b137b7541eb6612
> (r8169: remove non-napi code).
> 
> Signed-off-by: Florian Westphal <fwestphal@astaro.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 4e22462..4b53b58 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -51,9 +51,6 @@ 
 #define TX_BUFFS_AVAIL(tp) \
 	(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).
    The RTL chips use a 64 element hash table based on the Ethernet CRC. */
 static const int multicast_filter_limit = 32;