Home
last modified time | relevance | path

Searched hist:ce039bd4b21fdd158e6dbe8baeb577e6347ea7aa (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dmos7840.cdiff ce039bd4b21fdd158e6dbe8baeb577e6347ea7aa Thu Nov 07 07:28:59 CST 2019 Johan Hovold <johan@kernel.org> USB: serial: mos7840: drop paranoid port checks

Drop the paranoid port structure sanity checks which are confusing at
best.

The driver data port pointer is set at port probe and never cleared,
while USB serial core sets the tty driver data at install and won't call
any driver functions with a NULL port pointer.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>