]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: mos7840: drop port open flag
authorJohan Hovold <johan@kernel.org>
Thu, 7 Nov 2019 13:29:04 +0000 (14:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 12 Nov 2019 08:57:32 +0000 (09:57 +0100)
commit2c2b2e9a204312faeeab0c270149eaef018c98ce
treecd3e36a7a2584bab22ce3e7842f02164a708b9fd
parent22a7cb191dc030e492408b25a8d043a9ba4c440b
USB: serial: mos7840: drop port open flag

Drop the redundant port open flag and corresponding checks. USB serial
core will not call any of these driver callbacks for a closed port, and the
write URBs are stopped at close().

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7840.c