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>
This commit is contained in:
@@ -456,7 +456,6 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi)
|
||||
static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi)
|
||||
{
|
||||
ftdi_command_queue_work(ftdi, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ftdi_elan_command_work(struct work_struct *work)
|
||||
@@ -483,7 +482,6 @@ static void ftdi_elan_command_work(struct work_struct *work)
|
||||
static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi)
|
||||
{
|
||||
ftdi_respond_queue_work(ftdi, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ftdi_elan_respond_work(struct work_struct *work)
|
||||
|
Reference in New Issue
Block a user