[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [PATCH][2.6] Remove warning in ftape
From:       Chris Heath <chris () heathens ! co ! nz>
Date:       2003-12-31 23:43:35
Message-ID: 20031231183856.0A65.CHRIS () heathens ! co ! nz
[Download RAW message or body]

Here's a trivial patch that removes an unused-variable warning in ftape.

Chris


--- a/drivers/char/ftape/lowlevel/ftape-init.c	2003-10-23 23:19:03.000000000 -0400
+++ b/drivers/char/ftape/lowlevel/ftape-init.c	2003-10-23 23:20:18.000000000 -0400
@@ -55,7 +55,7 @@
 char ft_dat[] __initdata = "$Date: 1997/11/06 00:38:08 $";
 
 
-#ifndef CONFIG_FT_NO_TRACE_AT_ALL
+#if defined(MODULE) && !defined(CONFIG_FT_NO_TRACE_AT_ALL)
 static int ft_tracing = -1;
 #endif
 

-
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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic