]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/tty_ldisc.c
The parameter's origin type is long. On an i386 architecture, it can
[karo-tx-linux.git] / drivers / tty / tty_ldisc.c
index ef925d5817139417764e7b3d6dfc2108d86971c5..512c49f98e85a2c59e70b2c454877589756376a2 100644 (file)
@@ -450,7 +450,6 @@ static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld)
        if (ld->ops->open) {
                int ret;
                 /* BTM here locks versus a hangup event */
-               WARN_ON(!tty_locked());
                ret = ld->ops->open(tty);
                if (ret)
                        clear_bit(TTY_LDISC_OPEN, &tty->flags);