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

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

diff -u --recursive --new-file v2.4.3/linux/drivers/net/ptifddi.c linux/drivers/net/ptifddi.c
@@ -1,4 +1,4 @@
-/* $Id: ptifddi.c,v 1.13 2000/07/11 22:35:22 davem Exp $
+/* $Id: ptifddi.c,v 1.14 2001/04/14 01:12:04 davem Exp $
  * ptifddi.c: Network driver for Performance Technologies single-attach
  *            and dual-attach FDDI sbus cards.
  *
@@ -16,7 +16,7 @@
 #include "ptifddi_asm.h"
 
 #ifdef MODULE
-static struct ptifddi *root_pti_dev = NULL;
+static struct ptifddi *root_pti_dev;
 #endif
 
 static inline void pti_reset(struct ptifddi *pp)
@@ -151,7 +151,7 @@
 
 static inline int pti_fddi_init(struct net_device *dev, struct sbus_dev *sdev, int num)
 {
-	static unsigned version_printed = 0;
+	static unsigned version_printed;
 	struct ptifddi *pp;
 	int i;
 
@@ -208,7 +208,7 @@
 {
 	struct sbus_bus *bus;
 	struct sbus_dev *sdev = 0;
-	static int called = 0;
+	static int called;
 	int cards = 0, v;
 
 	if(called)

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