Re: 2.6.1-rc1-mm2: warning in drivers/net/sk98lin/skge.c

From: Jeff Garzik
Date: Wed Feb 18 2004 - 19:12:01 EST


Adrian Bunk wrote:
On Tue, Jan 06, 2004 at 10:20:09AM -0800, Andrew Morton wrote:

Adrian Bunk <bunk@xxxxxxxxx> wrote:

drivers/net/sk98lin/skge.c: In function `skge_probe':
drivers/net/sk98lin/skge.c:713: warning: unused variable `proc_root_initialized'

hm, I thought I sent Jeff a fix for that.

Yes, the definition should just be deleted.


This warning is still present in 2.6.2-mm1 and 2.6.3-rc1.

Please apply the following patch:

--- linux-2.6.2-mm1/drivers/net/sk98lin/skge.c.old 2004-02-08 14:11:48.000000000 +0100
+++ linux-2.6.2-mm1/drivers/net/sk98lin/skge.c 2004-02-08 14:11:57.000000000 +0100
@@ -294,7 +294,6 @@
SK_BOOL BootStringCount = SK_FALSE;
int retval;
#ifdef CONFIG_PROC_FS
- int proc_root_initialized = 0;
struct proc_dir_entry *pProcFile;
#endif


This just went in, via SysKonnect.

So you and akpm may cheer :)

Jeff



-
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/