patch-2.4.0-test10 linux/drivers/char/ftape/zftape/zftape-read.c

Next file: linux/drivers/char/ftape/zftape/zftape-rw.c
Previous file: linux/drivers/char/ftape/zftape/zftape-ctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/char/ftape/zftape/zftape-read.c linux/drivers/char/ftape/zftape/zftape-read.c
@@ -45,11 +45,11 @@
 
 /*      Global vars.
  */
-int zft_just_before_eof = 0;
+int zft_just_before_eof;
 
 /*      Local vars.
  */
-static int buf_len_rd = 0;
+static int buf_len_rd;
 
 void zft_zap_read_buffers(void)
 {
@@ -194,7 +194,7 @@
 			     int *req_clipped, 
 			     const zft_position *pos)
 {
-	static __s64 remaining = 0;
+	static __s64 remaining;
 	static int eod;
 	TRACE_FUN(ft_t_flow);
 	

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