2002-06-13 04:21:58

by Robert Kuebel

[permalink] [raw]
Subject: [PATCH] [TRIVIAL] 3c509.c - 1/2

This patch clears up another defined but not used compiler warning.
nopnp is not used when niether CONFIG_ISAPNP or CONFIG_ISAPNP_MODULE are
defined.

Patch is agains 2.4.19-pre10.

Rob.

--- linux-clean/drivers/net/3c509.c Fri Jun 7 23:41:59 2002
+++ linux-dirty/drivers/net/3c509.c Thu Jun 13 00:16:46 2002
@@ -234,8 +234,8 @@


static u16 el3_isapnp_phys_addr[8][3];
-#endif /* CONFIG_ISAPNP || CONFIG_ISAPNP_MODULE */
static int nopnp;
+#endif /* CONFIG_ISAPNP || CONFIG_ISAPNP_MODULE */

int __init el3_probe(struct net_device *dev, int card_idx)
{