]> 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)
commit6b8ad2a941d8a719fc87878b5515653de86a1b5b
tree73f5eeee3186329160b8ac052ce586e4e1d1e774
parentc25cb2a30a8700291a0e5b42c1e773243aad9376
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