Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b475d59 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] con3215: remove empty ioctl function



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

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent f8b06859
Loading
Loading
Loading
Loading
+0 −17
Original line number Original line Diff line number Diff line
@@ -1036,22 +1036,6 @@ static void tty3215_flush_buffer(struct tty_struct *tty)
	tty_wakeup(tty);
	tty_wakeup(tty);
}
}


/*
 * Currently we don't have any io controls for 3215 ttys
 */
static int tty3215_ioctl(struct tty_struct *tty, struct file * file,
			 unsigned int cmd, unsigned long arg)
{
	if (tty->flags & (1 << TTY_IO_ERROR))
		return -EIO;

	switch (cmd) {
	default:
		return -ENOIOCTLCMD;
	}
	return 0;
}

/*
/*
 * Disable reading from a 3215 tty
 * Disable reading from a 3215 tty
 */
 */
@@ -1117,7 +1101,6 @@ static const struct tty_operations tty3215_ops = {
	.write_room = tty3215_write_room,
	.write_room = tty3215_write_room,
	.chars_in_buffer = tty3215_chars_in_buffer,
	.chars_in_buffer = tty3215_chars_in_buffer,
	.flush_buffer = tty3215_flush_buffer,
	.flush_buffer = tty3215_flush_buffer,
	.ioctl = tty3215_ioctl,
	.throttle = tty3215_throttle,
	.throttle = tty3215_throttle,
	.unthrottle = tty3215_unthrottle,
	.unthrottle = tty3215_unthrottle,
	.stop = tty3215_stop,
	.stop = tty3215_stop,