public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL] Fw: Remove warning in ftape
@ 2004-03-22 23:49 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2004-03-22 23:49 UTC (permalink / raw)
  To: Claus-Justus Heine; +Cc: lkml - Kernel Mailing List

 From:  Chris Heath <chris@heathens.co.nz>

---
  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@heathens.co.nz>
  ----------------------- Original Message -----------------------
   From:    Chris Heath <chris@heathens.co.nz>
   To:      linux-kernel@vger.kernel.org
   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@heathens.co.nz>: Fw: [PATCH][2.6] Remove warning in ftape


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-22 23:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-22 23:49 [TRIVIAL] Fw: Remove warning in ftape Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox