lkml.org 
[lkml]   [2008]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] SMC91x: delete unused local variable "lp"
    Mike Frysinger wrote:
    > Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    > ---
    > drivers/net/smc91x.c | 2 --
    > 1 files changed, 0 insertions(+), 2 deletions(-)
    >
    > diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
    > index c70870e..6f9895d 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);
    >

    applied




    \
     
     \ /
      Last update: 2008-10-31 05:53    [W:0.023 / U:29.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site