All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Claus-Justus Heine <claus@momo.math.rwth-aachen.de>
Cc: lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [TRIVIAL] Fw: Remove warning in ftape
Date: Tue, 23 Mar 2004 10:49:45 +1100	[thread overview]
Message-ID: <1079999384.6591.105.camel@bach> (raw)

 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


                 reply	other threads:[~2004-03-22 23:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1079999384.6591.105.camel@bach \
    --to=rusty@rustcorp.com.au \
    --cc=claus@momo.math.rwth-aachen.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.