]> git.baikalelectronics.ru Git - kernel.git/commit
USB: iowarrior: drop redundant iowarrior mutex
authorJohan Hovold <johan@kernel.org>
Wed, 9 Oct 2019 10:48:45 +0000 (12:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 10:45:07 +0000 (12:45 +0200)
commit4b4be052bce9d40bfc745cb30d91f0ad2735582c
treeb5d2465961cc1cdea199c0a904a7ea4b6bbcffc5
parent1cd8d82b0efa0bad2359d6f569b12fbc5d21c438
USB: iowarrior: drop redundant iowarrior mutex

Drop the redundant iowarrior 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 ioctl(),
but neither is needed.

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