]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: serqt_usb2: remove unneeded return in qt_throttle
authorDevendra Naga <develkernel412222@gmail.com>
Wed, 15 Aug 2012 09:11:02 +0000 (14:56 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 22:32:13 +0000 (15:32 -0700)
this return is in the end of the qt_throttle function, so this return
not needed

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 170762cf303718e7118d1ba245fd448a3677f651..135eb3896b39d86f6229cc857188d4cec5a124b4 100644 (file)
@@ -1458,7 +1458,6 @@ static void qt_throttle(struct tty_struct *tty)
        qt_port->RxHolding = 1;
 
        mutex_unlock(&qt_port->lock);
-       return;
 }
 
 static void qt_unthrottle(struct tty_struct *tty)