The Coverity checker noted the following inconsequent NULL checking in
drivers/usb/serial/mos7720.c:
-- snip --
...
static void mos7720_close(struct usb_serial_port *port, struct file *filp)
{
...
/* While closing port, shutdown all bulk read, write *
* and interrupt read
The Coverity checker noted the following inconsequent NULL checking in
drivers/usb/serial/mos7720.c:
-- snip --
...
static void mos7720_close(struct usb_serial_port *port, struct file *filp)
{
...
/* While closing port, shutdown all bulk read, write *
* and interrupt read