Skip to content

Commit

Permalink
staging: serqt_usb2: remove return in ProcessLineStatus and ProcessMo…
Browse files Browse the repository at this point in the history
…demStatus

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>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Aug 15, 2012
1 parent 7b11eb3 commit 8cf7842
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/serqt_usb2/serqt_usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 8cf7842

Please sign in to comment.