patch-2.3.29 linux/drivers/char/ftape/lowlevel/ftape-bsm.c
Next file: linux/drivers/char/ftape/lowlevel/ftape-ctl.h
Previous file: linux/drivers/char/ftape/lowlevel/fdc-io.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 23 10:29:15 1999
- Orig file:
v2.3.28/linux/drivers/char/ftape/lowlevel/ftape-bsm.c
- Orig date:
Tue Nov 25 14:45:27 1997
diff -u --recursive --new-file v2.3.28/linux/drivers/char/ftape/lowlevel/ftape-bsm.c linux/drivers/char/ftape/lowlevel/ftape-bsm.c
@@ -218,17 +218,10 @@
}
/* Display old ftape's end-of-file marks
*/
-#if LINUX_VERSION_CODE >= KERNEL_VER(2,0,0)
while ((sector = get_unaligned(((__u16*)ptr)++)) != 0) {
TRACE(ft_t_noise, "Old ftape eof mark: %4d/%2d",
sector, get_unaligned(((__u16*)ptr)++));
}
-#else
- while ((sector = *((__u16*)ptr)++) != 0) {
- TRACE(ft_t_noise, "Old ftape eof mark: %4d/%2d",
- sector, *((__u16*)ptr)++);
- }
-#endif
} else { /* fixed size format */
for (i = ft_first_data_segment;
i < (int)(ft_segments_per_track * ft_tracks_per_tape); ++i) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)