linux/drivers/net/usb
Joe Perches a4b770972b drivers/net: Remove unnecessary returns from void function()s
This patch removes from drivers/net/ all the unnecessary
return; statements that precede the last closing brace of
void functions.

It does not remove the returns that are immediately
preceded by a label as gcc doesn't like that.

It also does not remove null void functions with return.

Done via:
$ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
  xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'

with some cleanups by hand.

Compile tested x86 allmodconfig only.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14 00:19:28 -07:00
..
asix.c
catc.c
cdc_eem.c
cdc_ether.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-02 22:02:06 -07:00
cdc_subset.c
cdc-phonet.c
dm9601.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-03 15:45:52 -07:00
gl620a.c
hso.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
int51x1.c
ipheth.c
kaweth.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
Kconfig net/usb: remove default in Kconfig for sierra_net driver 2010-04-30 19:05:28 -07:00
Makefile net/usb: add sierra_net.c driver 2010-04-27 18:12:04 -07:00
mcs7830.c
net1080.c
pegasus.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
pegasus.h
plusb.c
rndis_host.c
rtl8150.c
sierra_net.c net/usb: initiate sync sequence in sierra_net.c driver 2010-05-01 18:07:46 -07:00
smsc75xx.c
smsc75xx.h
smsc95xx.c
smsc95xx.h
usbnet.c
zaurus.c