]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba141e157acff86011245307adf7c55967a17a02
tree73f5eeee3186329160b8ac052ce586e4e1d1e774
parent61004309e405ef4f23d08db24ec4537391267a0c
USB: usblcd: drop redundant lcd mutex

Drop the redundant lcd mutex introduced by commit 1d36f74d14d9 ("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