[TRIVIAL] Fw: Remove warning in ftape

From: Rusty Russell
Date: Mon Mar 22 2004 - 18:52:21 EST


From: Chris Heath <chris@xxxxxxxxxxxxxx>

---
I sent this to the list a few months ago. Hopefully it won't get lost
if I send it via trivial. :-)

Chris


Forwarded by Chris Heath <chris@xxxxxxxxxxxxxx>
----------------------- Original Message -----------------------
From: Chris Heath <chris@xxxxxxxxxxxxxx>
To: linux-kernel@xxxxxxxxxxxxxxx
Date: Wed, 31 Dec 2003 18:43:35 -0500
Subject: [PATCH][2.6] Remove warning in ftape
----

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

Chris



--- trivial-2.6.5-rc2-bk2/drivers/char/ftape/lowlevel/ftape-init.c.orig 2004-03-23 10:10:38.000000000 +1100
+++ trivial-2.6.5-rc2-bk2/drivers/char/ftape/lowlevel/ftape-init.c 2004-03-23 10:10:38.000000000 +1100
@@ -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

--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: Chris Heath <chris@xxxxxxxxxxxxxx>: Fw: [PATCH][2.6] Remove warning in ftape

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