fix s2io driver compilation

From: Andi Kleen <hidden>
Date: 2004-03-23 06:09:31

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

(against the patch Jeff posted)

-Andi


diff -u linux-2.6.4/drivers/net/s2io.c-o linux-2.6.4/drivers/net/s2io.c
--- linux-2.6.4/drivers/net/s2io.c-o	2004-03-22 22:01:26.000000000 -0800
+++ linux-2.6.4/drivers/net/s2io.c	2004-03-22 22:04:05.490715632 -0800
@@ -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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help