patch-2.4.4 linux/drivers/net/cs89x0.c

Next file: linux/drivers/net/daynaport.c
Previous file: linux/drivers/net/bagetlance.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/cs89x0.c linux/drivers/net/cs89x0.c
@@ -130,7 +130,6 @@
 #include <asm/dma.h>
 #endif
 #include <linux/errno.h>
-#include <linux/init.h>
 #include <linux/spinlock.h>
 
 #include <linux/netdevice.h>
@@ -361,7 +360,7 @@
 cs89x0_probe1(struct net_device *dev, int ioaddr)
 {
 	struct net_local *lp;
-	static unsigned version_printed = 0;
+	static unsigned version_printed;
 	int i;
 	unsigned rev_type = 0;
 	int eeprom_buff[CHKSUM_LEN];
@@ -1590,14 +1589,14 @@
  * avoid breaking someone's startup scripts 
  */
 
-static int io=0;
-static int irq=0;
-static int debug=0;
+static int io;
+static int irq;
+static int debug;
 static char media[8];
 static int duplex=-1;
 
-static int use_dma = 0;			/* These generate unused var warnings if ALLOW_DMA = 0 */
-static int dma=0;
+static int use_dma;			/* These generate unused var warnings if ALLOW_DMA = 0 */
+static int dma;
 static int dmasize=16;			/* or 64 */
 
 MODULE_PARM(io, "i");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)