OSDN Git Service

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)
commit8d33e828f72c216ae264ad39088a595d9a6cc95c
treeb5d2465961cc1cdea199c0a904a7ea4b6bbcffc5
parent7c5b971d623fdb40c03205e99f9ef68002b34726
USB: iowarrior: drop redundant iowarrior mutex

Drop the redundant iowarrior 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 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