]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/vt.c
tty: move tioclinux from a special case
[linux-2.6-omap-h63xx.git] / drivers / char / vt.c
index 60359c360912c7d4dddee8e76a6a4ffb2c576e7e..05ca1c5dcb1c6a0e4517d822b1f3573f54d1adc6 100644 (file)
@@ -2583,8 +2583,6 @@ int tioclinux(struct tty_struct *tty, unsigned long arg)
        int lines;
        int ret;
 
-       if (tty->driver->type != TTY_DRIVER_TYPE_CONSOLE)
-               return -EINVAL;
        if (current->signal->tty != tty && !capable(CAP_SYS_ADMIN))
                return -EPERM;
        if (get_user(type, p))