Skip to contentSkip to conversation

[2.6] Remove warning in ftape

PATCH New Chris Heath 1 participant 1 message Dec 31, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.6] Remove warning in ftape

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

Chris

drivers/char/ftape/lowlevel/ftape-init.c +1 -1
@@ -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