From: Mike Frysinger Date: Wed, 29 Oct 2008 13:56:06 +0000 (-0400) Subject: SMC91x: delete unused local variable "lp" X-Git-Tag: v2.6.28-rc3~3^2~12^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=51ac3beffd4afaea4350526cf01fe74aaff25eff;p=linux-2.6-omap-h63xx.git SMC91x: delete unused local variable "lp" Signed-off-by: Mike Frysinger Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index c70870e0fd6..6f9895d4e5b 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);