public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c
@ 2002-09-05 20:47 Andreas Steinmetz
  2002-09-05 23:22 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Steinmetz @ 2002-09-05 20:47 UTC (permalink / raw)
  To: linux-kernel

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c
  2002-09-05 20:47 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c Andreas Steinmetz
@ 2002-09-05 23:22 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2002-09-05 23:22 UTC (permalink / raw)
  To: Andreas Steinmetz; +Cc: linux-kernel

On Thu, 2002-09-05 at 21:47, Andreas Steinmetz wrote:
> the attached patch disables dead code in nmclan_cs.c and thus fixes a 
> compiler warning.

Ethtool is stuff getting added. Actually hooking it in is probably the
right thing to do now the ethtool core stuff is in


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-05 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 20:47 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c Andreas Steinmetz
2002-09-05 23:22 ` Alan Cox

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