2.4.20pre5 trivial compiler warning fix for nmclan_cs.c

Andreas Steinmetz (ast@domdv.de)
Thu, 05 Sep 2002 22:47:14 +0200


This is a multi-part message in MIME format.
--------------080408070907090002090501
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

-- 
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

--------------080408070907090002090501 Content-Type: text/plain; name="nmclan_cs.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nmclan_cs.c.diff"

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

--------------080408070907090002090501--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/