]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/tty/tty_ldisc.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux...
[mirror_ubuntu-zesty-kernel.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);