]> git.karo-electronics.de Git - linux-beck.git/commit
drivers/usb: Remove unnecessary return's from void functions
authorJoe Perches <joe@perches.com>
Wed, 4 Aug 2010 17:40:08 +0000 (10:40 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 10 Aug 2010 12:25:42 +0000 (14:25 +0200)
commit7f26b3a7533bbc1ddd88b297c935ee4da8f74cea
tree28ba09da29cf391405a932ef243ea49d96a21204
parent429d646d9aeafdb57717dab75c807215f5cce9c2
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>
30 files changed:
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/f_audio.c
drivers/usb/gadget/f_hid.c
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/gadget/langwell_udc.c
drivers/usb/gadget/pxa27x_udc.c
drivers/usb/gadget/rndis.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/host/pci-quirks.c
drivers/usb/host/u132-hcd.c
drivers/usb/image/microtek.c
drivers/usb/misc/ftdi-elan.c
drivers/usb/mon/mon_main.c
drivers/usb/musb/musb_gadget.c
drivers/usb/serial/cypress_m8.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/garmin_gps.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/iuu_phoenix.c
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/omninet.c
drivers/usb/serial/sierra.c
drivers/usb/serial/spcp8x5.c
drivers/usb/serial/usb_wwan.c
drivers/usb/serial/whiteheat.c