sparc: serial: sunhv: fix a double lock bug
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 11:17:33 +0000 (14:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 09:06:40 +0000 (10:06 +0100)
commit4e90b688013526340fef9f11ae0184888fd563d1
tree4b3d75952ae8da9cff08b02b5ef00fbd37cf6af7
parenta395f7a66eec5db41f8860427f955d4cdabb1063
sparc: serial: sunhv: fix a double lock bug

[ Upstream commit 344e3c7734d5090b148c19ac6539b8947fed6767 ]

We accidentally take the "port->lock" twice in a row.  This old code
was supposed to be deleted.

Fixes: e58e241c1788 ('sparc: serial: Clean up the locking for -rt')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sunhv.c