Merge tag 'for-4.20-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git] / drivers / tty / tty_ioctl.c
index d99fec4..9245fff 100644 (file)
@@ -941,19 +941,3 @@ int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file,
        }
 }
 EXPORT_SYMBOL(n_tty_ioctl_helper);
-
-#ifdef CONFIG_COMPAT
-long n_tty_compat_ioctl_helper(struct tty_struct *tty, struct file *file,
-                                       unsigned int cmd, unsigned long arg)
-{
-       switch (cmd) {
-       case TIOCGLCKTRMIOS:
-       case TIOCSLCKTRMIOS:
-               return tty_mode_ioctl(tty, file, cmd, (unsigned long) compat_ptr(arg));
-       default:
-               return -ENOIOCTLCMD;
-       }
-}
-EXPORT_SYMBOL(n_tty_compat_ioctl_helper);
-#endif
-