[PATCH] tty: remove useless memory barrier
authorRalf Baechle <ralf@linux-mips.org>
Wed, 13 Dec 2006 08:34:57 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:52 +0000 (09:05 -0800)
commit34f8f0a5e953d3e40c4419e5e5c4b6fd14f7ebf2
tree6a4630fc8ca0ee9d49e7411e992a4b16ee2ca282
parentcd86128088554d64fea1679191509f00e6353c5b
[PATCH] tty: remove useless memory barrier

I don't see why there is a memory barrier in copy_from_read_buf() at all.
Even if it was useful spin_unlock_irqrestore implies a barrier.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/n_tty.c