mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
staging: serqt_usb2: remove return in ProcessLineStatus and ProcessModemStatus
These are void functions and they dont need return at the end of the function Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7b11eb3eaa
commit
8cf78422ea
|
|
@ -247,7 +247,6 @@ static void ProcessLineStatus(struct quatech_port *qt_port,
|
|||
qt_port->shadowLSR =
|
||||
line_status & (SERIAL_LSR_OE | SERIAL_LSR_PE | SERIAL_LSR_FE |
|
||||
SERIAL_LSR_BI);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ProcessModemStatus(struct quatech_port *qt_port,
|
||||
|
|
@ -256,7 +255,6 @@ static void ProcessModemStatus(struct quatech_port *qt_port,
|
|||
|
||||
qt_port->shadowMSR = modem_status;
|
||||
wake_up_interruptible(&qt_port->wait);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ProcessRxChar(struct tty_struct *tty, struct usb_serial_port *port,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user