staging: serqt_usb2: remove unneeded return in qt_unthrottle
authorDevendra Naga <develkernel412222@gmail.com>
Wed, 15 Aug 2012 09:11:01 +0000 (14:56 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 22:32:13 +0000 (15:32 -0700)
this return is at the end of the void function qt_unthrottle, which is
not needed, and also remove the new line below this.

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/serqt_usb2/serqt_usb2.c

index 8a362f7af379b4a2cfc6935f50d5a0a5db082fe3..170762cf303718e7118d1ba245fd448a3677f651 100644 (file)
@@ -1499,8 +1499,6 @@ static void qt_unthrottle(struct tty_struct *tty)
                }
        }
        mutex_unlock(&qt_port->lock);
-       return;
-
 }
 
 static int qt_calc_num_ports(struct usb_serial *serial)