Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6aeab477 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eb94ec7a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1299,8 +1299,6 @@ static void mos7720_throttle(struct tty_struct *tty)
		mos7720_port->shadowMCR &= ~UART_MCR_RTS;
		write_mos_reg(port->serial, port->port_number, MCR,
			      mos7720_port->shadowMCR);
		if (status != 0)
			return;
	}
}

@@ -1331,8 +1329,6 @@ static void mos7720_unthrottle(struct tty_struct *tty)
		mos7720_port->shadowMCR |= UART_MCR_RTS;
		write_mos_reg(port->serial, port->port_number, MCR,
			      mos7720_port->shadowMCR);
		if (status != 0)
			return;
	}
}