From: Devendra Naga Date: Wed, 15 Aug 2012 09:11:04 +0000 (+0545) Subject: staging: serqt_usb2: remove return in ProcessLineStatus and ProcessModemStatus X-Git-Tag: firefly_0821_release~3680^2~1977^2~918 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8cf78422eaeb29828fb6b897550c6090696fc40d;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 5a5ea482a216..1b26023b7928 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -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,