summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-29 14:56:06 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-10-31 05:46:20 +0100
commit51ac3beffd4afaea4350526cf01fe74aaff25eff (patch)
tree485c12e6f11442a5be70cccf00197ba0593e6bc9 /drivers/net/smc91x.c
parentmyri10ge: fix stop/go mmio ordering (diff)
downloadlinux-51ac3beffd4afaea4350526cf01fe74aaff25eff.tar.xz
linux-51ac3beffd4afaea4350526cf01fe74aaff25eff.zip
SMC91x: delete unused local variable "lp"
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r--drivers/net/smc91x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index c70870e0fd61..6f9895d4e5bd 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -2060,7 +2060,6 @@ static int smc_request_attrib(struct platform_device *pdev,
struct net_device *ndev)
{
struct resource * res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "smc91x-attrib");
- struct smc_local *lp = netdev_priv(ndev);
if (!res)
return 0;
@@ -2075,7 +2074,6 @@ static void smc_release_attrib(struct platform_device *pdev,
struct net_device *ndev)
{
struct resource * res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "smc91x-attrib");
- struct smc_local *lp = netdev_priv(ndev);
if (res)
release_mem_region(res->start, ATTRIB_SIZE);