All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Steinmetz <ast@domdv.de>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c
Date: Thu, 05 Sep 2002 22:47:14 +0200	[thread overview]
Message-ID: <3D77C2D2.5090607@domdv.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

the attached patch disables dead code in nmclan_cs.c and thus fixes a 
compiler warning.
-- 
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

[-- Attachment #2: nmclan_cs.c.diff --]
[-- Type: text/plain, Size: 451 bytes --]

--- drivers/net/pcmcia/nmclan_cs.c.orig	2002-09-05 22:43:00.000000000 +0200
+++ drivers/net/pcmcia/nmclan_cs.c	2002-09-05 22:44:21.000000000 +0200
@@ -1009,6 +1009,7 @@
   return 0;
 } /* mace_close */
 
+#if 0
 static int netdev_ethtool_ioctl (struct net_device *dev, void *useraddr)
 {
 	u32 ethcmd;
@@ -1068,6 +1069,7 @@
 	}
 	return 0;
 }
+#endif
 
 /* ----------------------------------------------------------------------------
 mace_start_xmit

             reply	other threads:[~2002-09-05 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-05 20:47 Andreas Steinmetz [this message]
2002-09-05 23:22 ` 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c Alan Cox

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=3D77C2D2.5090607@domdv.de \
    --to=ast@domdv.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.