Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: mos7720: delete some unneeded code

The "status" is uninitialized so this creates a static checker warning.
But it's harmless, we can just delete it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dan Carpenter and committed by
Greg Kroah-Hartman
6aeab477 eb94ec7a

-4
-4
drivers/usb/serial/mos7720.c
··· 1299 1299 mos7720_port->shadowMCR &= ~UART_MCR_RTS; 1300 1300 write_mos_reg(port->serial, port->port_number, MCR, 1301 1301 mos7720_port->shadowMCR); 1302 - if (status != 0) 1303 - return; 1304 1302 } 1305 1303 } 1306 1304 ··· 1329 1331 mos7720_port->shadowMCR |= UART_MCR_RTS; 1330 1332 write_mos_reg(port->serial, port->port_number, MCR, 1331 1333 mos7720_port->shadowMCR); 1332 - if (status != 0) 1333 - return; 1334 1334 } 1335 1335 } 1336 1336