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

From: Jesper Juhl
Date: Tue Jan 11 2005 - 11:18:20 EST


On Mon, 10 Jan 2005, Adrian Bunk wrote:

> 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?
>
Yes, yes it does. I didn't see the CONFIG_SYSCTL connection and thus
didn't test that :(
Please disregard the patch, it's wrong.

--
Jesper Juhl


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/