lkml.org 
[lkml]   [2004]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.1-rc1-mm2: warning in drivers/net/sk98lin/skge.c
On Tue, Jan 06, 2004 at 10:20:09AM -0800, Andrew Morton wrote:
> Adrian Bunk <bunk@fs.tum.de> 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


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

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

\
 
 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2011 Jasper Spaans