From: Devendra Naga Date: Wed, 15 Aug 2012 09:11:01 +0000 (+0545) Subject: staging: serqt_usb2: remove unneeded return in qt_unthrottle X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c660e6b594911ac8ab23fd98e114542cd47fe796;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: serqt_usb2: remove unneeded return in qt_unthrottle 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 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 8a362f7af379..170762cf3037 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -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)