USB: usblcd: drop redundant lcd mutex
authorJohan Hovold <johan@kernel.org>
Thu, 26 Sep 2019 09:12:27 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 09:11:08 +0000 (11:11 +0200)
commitd046fd5e058535dbb98812f414aeb061724dc3b0
tree73f5eeee3186329160b8ac052ce586e4e1d1e774
parent61991d02fd33698182460bf62dca1b8162e3472b
USB: usblcd: drop redundant lcd mutex

Drop the redundant lcd mutex introduced by commit 925ce689bb31 ("USB:
autoconvert trivial BKL users to private mutex") which replaced an
earlier BKL use.

The lock serialised calls to open() against other open() and a custom
ioctl() returning the bcdDevice (sic!), but neither is needed.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20190926091228.24634-9-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usblcd.c