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

Commit a3096199 authored by Al Viro's avatar Al Viro
Browse files

remove fallback to drivers for TIOCGICOUNT



none of them handles it anyway.

Reviewed-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b413f00a
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -2606,11 +2606,7 @@ long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
	case TIOCMBIS:
		return tty_tiocmset(tty, cmd, p);
	case TIOCGICOUNT:
		retval = tty_tiocgicount(tty, p);
		/* For the moment allow fall through to the old method */
        	if (retval != -EINVAL)
			return retval;
		break;
		return tty_tiocgicount(tty, p);
	case TCFLSH:
		switch (arg) {
		case TCIFLUSH: