diff options
author | Joe Perches <joe@perches.com> | 2010-08-04 13:40:08 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-08-10 08:25:42 -0400 |
commit | 7f26b3a7533bbc1ddd88b297c935ee4da8f74cea (patch) | |
tree | 28ba09da29cf391405a932ef243ea49d96a21204 /drivers/usb/misc | |
parent | 429d646d9aeafdb57717dab75c807215f5cce9c2 (diff) |
drivers/usb: Remove unnecessary return's from void functions
Greg prefers this to go through the trivial tree.
http://lkml.org/lkml/2010/6/24/1
There are about 2500 void functions in drivers/usb
Only a few used return; at end of function.
Standardize them a bit.
Moved a statement down a line in drivers/usb/host/u132-hcd.c
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/ftdi-elan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 82e16630a78b..d7e034a5e1f9 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -456,7 +456,6 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi) | |||
456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) | 456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) |
457 | { | 457 | { |
458 | ftdi_command_queue_work(ftdi, 0); | 458 | ftdi_command_queue_work(ftdi, 0); |
459 | return; | ||
460 | } | 459 | } |
461 | 460 | ||
462 | static void ftdi_elan_command_work(struct work_struct *work) | 461 | static void ftdi_elan_command_work(struct work_struct *work) |
@@ -483,7 +482,6 @@ static void ftdi_elan_command_work(struct work_struct *work) | |||
483 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) | 482 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) |
484 | { | 483 | { |
485 | ftdi_respond_queue_work(ftdi, 0); | 484 | ftdi_respond_queue_work(ftdi, 0); |
486 | return; | ||
487 | } | 485 | } |
488 | 486 | ||
489 | static void ftdi_elan_respond_work(struct work_struct *work) | 487 | static void ftdi_elan_respond_work(struct work_struct *work) |