]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/tty_port.c
Merge tag 'xfs-4.12-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[karo-tx-linux.git] / drivers / tty / tty_port.c
index 4fb3165384c4495bb83a785dc564f76be68e340a..6b137194069fee47bc45b1866865ee27adfd33c5 100644 (file)
@@ -34,9 +34,7 @@ static int tty_port_default_receive_buf(struct tty_port *port,
        if (!disc)
                return 0;
 
-       mutex_lock(&tty->atomic_write_lock);
        ret = tty_ldisc_receive_buf(disc, p, (char *)f, count);
-       mutex_unlock(&tty->atomic_write_lock);
 
        tty_ldisc_deref(disc);