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

kuebelr@email.uc.edu
Thu, 13 Jun 2002 00:21:51 -0400


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/