netdev
[Top] [All Lists]

Re: [PATCH] remove unused variables in net/sunrpc/auth.c

To: Jesper Juhl <juhl-lkml@xxxxxx>
Subject: Re: [PATCH] remove unused variables in net/sunrpc/auth.c
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Mon, 10 Jan 2005 23:16:51 +0100
Cc: linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-net <linux-net@xxxxxxxxxxxxxxx>, netdev <netdev@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.61.0501102239000.2987@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.61.0501102239000.2987@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Mon, Jan 10, 2005 at 10:50:34PM +0100, Jesper Juhl wrote:
> 
> We have a few unused variables in net/sunrpc/auth.c:320:
> 
> net/sunrpc/auth.c:320: warning: unused variable `auth'
> net/sunrpc/auth.c:333: warning: unused variable `auth'
> net/sunrpc/auth.c:345: warning: unused variable `auth'
> net/sunrpc/auth.c:385: warning: unused variable `auth'
> 
> As far as I can see, the patch that caused them to become unused is this 
> one (which btw is ~36 months old) :
> http://linux.bkbits.net:8080/linux-2.6/diffs/net/sunrpc/auth.c@xxx?nav=index.html|src/|src/net|src/net/sunrpc|hist/net/sunrpc/auth.c
> 
> Here is a patch to get rid of them (compile tested only).
>...

Doesn't this break with CONFIG_SYSCTL=y?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


<Prev in Thread] Current Thread [Next in Thread>