Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/compat: remove useless compat ioctl for parport device

Compat ioctl is already introduced in drivers/char/ppdev.c in order to
fix y2038 issue for PP[GS]ETTIME. There is no need to define these
here.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Bamvor Jian Zhang and committed by
Greg Kroah-Hartman
6a4f555a 17a3596f

-22
-22
fs/compat_ioctl.c
··· 1040 1040 /* PPPOX */ 1041 1041 COMPATIBLE_IOCTL(PPPOEIOCSFWD) 1042 1042 COMPATIBLE_IOCTL(PPPOEIOCDFWD) 1043 - /* ppdev */ 1044 - COMPATIBLE_IOCTL(PPSETMODE) 1045 - COMPATIBLE_IOCTL(PPRSTATUS) 1046 - COMPATIBLE_IOCTL(PPRCONTROL) 1047 - COMPATIBLE_IOCTL(PPWCONTROL) 1048 - COMPATIBLE_IOCTL(PPFCONTROL) 1049 - COMPATIBLE_IOCTL(PPRDATA) 1050 - COMPATIBLE_IOCTL(PPWDATA) 1051 - COMPATIBLE_IOCTL(PPCLAIM) 1052 - COMPATIBLE_IOCTL(PPRELEASE) 1053 - COMPATIBLE_IOCTL(PPYIELD) 1054 - COMPATIBLE_IOCTL(PPEXCL) 1055 - COMPATIBLE_IOCTL(PPDATADIR) 1056 - COMPATIBLE_IOCTL(PPNEGOT) 1057 - COMPATIBLE_IOCTL(PPWCTLONIRQ) 1058 - COMPATIBLE_IOCTL(PPCLRIRQ) 1059 - COMPATIBLE_IOCTL(PPSETPHASE) 1060 - COMPATIBLE_IOCTL(PPGETMODES) 1061 - COMPATIBLE_IOCTL(PPGETMODE) 1062 - COMPATIBLE_IOCTL(PPGETPHASE) 1063 - COMPATIBLE_IOCTL(PPGETFLAGS) 1064 - COMPATIBLE_IOCTL(PPSETFLAGS) 1065 1043 /* Big A */ 1066 1044 /* sparc only */ 1067 1045 /* Big Q for sound/OSS */