[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH][2.6] Remove warning in ftape


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 _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」