]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
SMC91x: delete unused local variable "lp"
authorMike Frysinger <vapier@gentoo.org>
Wed, 29 Oct 2008 13:56:06 +0000 (09:56 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 31 Oct 2008 04:46:20 +0000 (00:46 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/smc91x.c

index c70870e0fd613d8292f9ccdc34494487342a6307..6f9895d4e5bdf3016b5930d8b6716a81bf714ed7 100644 (file)
@@ -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);