2002-09-05 21:52:24

by Andreas Steinmetz

[permalink] [raw]
Subject: 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c

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


Attachments:
nmclan_cs.c.diff (451.00 B)

2002-09-05 23:17:08

by Alan

[permalink] [raw]
Subject: Re: 2.4.20pre5 trivial compiler warning fix for nmclan_cs.c

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