Skip to contentSkip to conversation

2.4.20pre5 trivial compiler warning fix for nmclan_cs.c

PATCH Andreas Steinmetz 2 participants 2 messages Sep 5, 2002 Networking

lore
Share & tools
lore
#0 lore raw

the attached patch disables dead code in nmclan_cs.c and thus fixes a compiler warning.

Signature · 2 lines
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
net/pcmcia/nmclan_cs.c renamed from net/pcmcia/nmclan_cs.c.orig +2 -0
@@ -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
#1 lore raw
Quoted 2 lines · Andreas Steinmetz

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