patch-2.4.4 linux/drivers/net/appletalk/ltpc.c

Next file: linux/drivers/net/arcnet/arcnet.c
Previous file: linux/drivers/net/appletalk/ipddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/net/appletalk/ltpc.c linux/drivers/net/appletalk/ltpc.c
@@ -197,14 +197,14 @@
 */
 
 /* insmod-tweakable variables */
-static int debug=0;
+static int debug;
 #define DEBUG_VERBOSE 1
 #define DEBUG_UPPER 2
 #define DEBUG_LOWER 4
 
-static int io=0;
-static int irq=0;
-static int dma=0;
+static int io;
+static int irq;
+static int dma;
 
 #include <linux/module.h>
 #include <linux/kernel.h>
@@ -281,7 +281,7 @@
 
 /* the transmit queue itself */
 
-static struct xmitQel *xmQhd=NULL,*xmQtl=NULL;
+static struct xmitQel *xmQhd, *xmQtl;
 
 static void enQ(struct xmitQel *qel)
 {
@@ -489,7 +489,7 @@
 static unsigned char rescbuf[2] = {LT_GETRESULT,0};
 static unsigned char resdbuf[2];
 
-static int QInIdle=0;
+static int QInIdle;
 
 /* idle expects to be called with the IRQ line high -- either because of
  * an interrupt, or because the line is tri-stated
@@ -910,7 +910,7 @@
 	return 0;
 }
 
-static int ltpc_poll_counter = 0;
+static int ltpc_poll_counter;
 
 static void ltpc_poll(unsigned long l)
 {

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