Skip to contentSkip to conversation

3c509.c - 1/2

PATCH New [email protected] 1 participant 1 message Jun 13, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/net/3c509.c Thu Jun 13 00:16:46 2002 renamed from drivers/net/3c509.c Fri Jun 7 23:41:59 2002 +1 -1
@@ -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)
 {