diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-10 00:23:25 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-12 03:58:34 +0200 |
commit | 3a221d17a7a031ad04242f6bc86b7dff307534f8 (patch) | |
tree | 5ef8e8a28b97a6cdc2714370e3be08203c2361d6 /drivers/net/sunlance.c | |
parent | drivers/net/mac8390.c: make functions static (diff) | |
download | linux-3a221d17a7a031ad04242f6bc86b7dff307534f8.tar.xz linux-3a221d17a7a031ad04242f6bc86b7dff307534f8.zip |
drivers/net/: remove write-only "last_dev"
This patch removes write-only global "last_dev" variables from the
following drivers:
- a2065.c
- declance.c
- sunlance.c
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/sunlance.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c index 26ade68aeabf..4e994f87469e 100644 --- a/drivers/net/sunlance.c +++ b/drivers/net/sunlance.c @@ -915,15 +915,11 @@ static void build_fake_packet(struct lance_private *lp) lp->tx_new = TX_NEXT(entry); } -struct net_device *last_dev; - static int lance_open(struct net_device *dev) { struct lance_private *lp = netdev_priv(dev); int status = 0; - last_dev = dev; - STOP_LANCE(lp); if (request_irq(dev->irq, &lance_interrupt, IRQF_SHARED, |