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

[S390] con3215: remove empty ioctl function

...instead of adding a compat ioctl function which would do nothing
as well.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
7b475d59 f8b06859

-17
-17
drivers/s390/char/con3215.c
··· 1037 1037 } 1038 1038 1039 1039 /* 1040 - * Currently we don't have any io controls for 3215 ttys 1041 - */ 1042 - static int tty3215_ioctl(struct tty_struct *tty, struct file * file, 1043 - unsigned int cmd, unsigned long arg) 1044 - { 1045 - if (tty->flags & (1 << TTY_IO_ERROR)) 1046 - return -EIO; 1047 - 1048 - switch (cmd) { 1049 - default: 1050 - return -ENOIOCTLCMD; 1051 - } 1052 - return 0; 1053 - } 1054 - 1055 - /* 1056 1040 * Disable reading from a 3215 tty 1057 1041 */ 1058 1042 static void tty3215_throttle(struct tty_struct * tty) ··· 1101 1117 .write_room = tty3215_write_room, 1102 1118 .chars_in_buffer = tty3215_chars_in_buffer, 1103 1119 .flush_buffer = tty3215_flush_buffer, 1104 - .ioctl = tty3215_ioctl, 1105 1120 .throttle = tty3215_throttle, 1106 1121 .unthrottle = tty3215_unthrottle, 1107 1122 .stop = tty3215_stop,