[PATCH] [TRIVIAL] 3c509.c - 1/2

From: kuebelr@email.uc.edu
Date: Wed Jun 12 2002 - 23:21:51 EST


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)
 {
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:27 EST