diff options
author | Johan Hovold <johan@kernel.org> | 2019-09-26 11:12:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 11:11:08 +0200 |
commit | 61991d02fd33698182460bf62dca1b8162e3472b (patch) | |
tree | 5c551a8b84db17f84e961740a5cb4ad513786167 /drivers/irqchip/irq-gic-common.c | |
parent | eb7f5a490c5edfe8126f64bc58b9ba2edef0a425 (diff) |
USB: usblcd: drop redundant disconnect mutex
Drop the redundant disconnect mutex which was introduced after the
open-disconnect race had been addressed generally in USB core by commit
d4ead16f50f9 ("USB: prevent char device open/deregister race").
Specifically, the rw-semaphore in core guarantees that all calls to
open() will have completed and that no new calls to open() will occur
after usb_deregister_dev() returns. Hence there is no need use the
driver data as an inverted disconnected flag.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20190926091228.24634-8-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/irqchip/irq-gic-common.c')
0 files changed, 0 insertions, 0 deletions