]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/n_tty.c
EHCI: fix interrupt-driven remote wakeup
[linux-2.6-omap-h63xx.git] / drivers / char / n_tty.c
index e96a00fe13891b6f5f9fae1b2e1e6f1054d37956..2bdb0144a22e3f0b4d8675826bdd0ea353ac3079 100644 (file)
@@ -1151,7 +1151,6 @@ static int copy_from_read_buf(struct tty_struct *tty,
        n = min(*nr, n);
        spin_unlock_irqrestore(&tty->read_lock, flags);
        if (n) {
-               mb();
                retval = copy_to_user(*b, &tty->read_buf[tty->read_tail], n);
                n -= retval;
                spin_lock_irqsave(&tty->read_lock, flags);