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