patch-2.4.0-test10 linux/drivers/char/stallion.c

Next file: linux/drivers/char/sx.c
Previous file: linux/drivers/char/specialix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -146,7 +146,7 @@
 static struct tty_struct	*stl_ttys[STL_MAXDEVS];
 static struct termios		*stl_termios[STL_MAXDEVS];
 static struct termios		*stl_termioslocked[STL_MAXDEVS];
-static int			stl_refcount = 0;
+static int			stl_refcount;
 
 /*
  *	We will need to allocate a temporary write buffer for chars that
@@ -192,7 +192,7 @@
  *	shared with another Stallion board.
  */
 static int	stl_gotintrs[STL_MAXBRDS];
-static int	stl_numintrs = 0;
+static int	stl_numintrs;
 
 /*****************************************************************************/
 
@@ -748,7 +748,7 @@
 
 /*****************************************************************************/
 
-static devfs_handle_t devfs_handle = NULL;
+static devfs_handle_t devfs_handle;
 
 #ifdef MODULE
 

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