[PATCH 1/4] staging: serqt_usb2: remove unneeded return in qt_unthrottle
Devendra Naga
develkernel412222 at gmail.com
Wed Aug 15 09:11:01 UTC 2012
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 at gmail.com>
---
drivers/staging/serqt_usb2/serqt_usb2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c
index 8a362f7..170762c 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)
--
1.7.12.rc2
More information about the devel
mailing list