patch-2.3.29 linux/drivers/char/ftape/zftape/zftape-eof.c

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

diff -u --recursive --new-file v2.3.28/linux/drivers/char/ftape/zftape/zftape-eof.c linux/drivers/char/ftape/zftape/zftape-eof.c
@@ -122,19 +122,11 @@
 {
 	while (ptr + 3 < limit) {
 
-#if LINUX_VERSION_CODE >= KERNEL_VER(2,0,0)
 		if (get_unaligned((__u32*)ptr)) {
 			++(__u32*)ptr;
 		} else {
 			return ptr;
 		}
-#else
-		if (*(__u32*)ptr) {
-			++(__u32*)ptr;
-		} else {
-			return ptr;
-		}
-#endif
 	}
 	return NULL;
 }

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