patch-2.3.29 linux/drivers/char/ftape/lowlevel/ftape-ctl.h

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

diff -u --recursive --new-file v2.3.28/linux/drivers/char/ftape/lowlevel/ftape-ctl.h linux/drivers/char/ftape/lowlevel/ftape-ctl.h
@@ -137,15 +137,6 @@
 /*  history record */
 #define ft_history             ftape_status.fti_history
 
-/*  compatibility with old kernel versions
- */
-#if LINUX_VERSION_CODE <= KERNEL_VER(1,2,13)
-#define _IOC_SIZE(cmd) (((cmd) & IOCSIZE_MASK) >> IOCSIZE_SHIFT)
-#define _IOC_DIR(cmd)  (cmd)
-#define _IOC_WRITE IOC_IN
-#define _IOC_READ  IOC_OUT
-#endif
-
 /*
  *      ftape-ctl.c defined global vars.
  */

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