Skip to contentSkip to conversation

fix s2io driver compilation

PATCH Andi Kleen 1 participant 1 message Mar 23, 2004

Subsystems (2)
lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

Without this patch it won't build with NAPI enabled.

(against the patch Jeff posted)

-Andi

drivers/net/s2io.c renamed from drivers/net/s2io.c-o +0 -2
diff -u linux-2.6.4/drivers/net/s2io.c-o linux-2.6.4/drivers/net/s2io.c
@@ -2339,9 +2339,7 @@
 	struct net_device *dev = (struct net_device *) dev_id;
 	nic_t *sp = dev->priv;
 	XENA_dev_config_t *bar0 = (XENA_dev_config_t *) sp->bar0;
-#ifndef CONFIG_S2IO_NAPI
 	int i, ret;
-#endif
 	u64 reason = 0, general_mask = 0;
 	mac_info_t *mac_control;
 	struct config_param *config;