kernel-fxtec-pro1x/drivers/net/wireless/iwmc3200wifi
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
..
bus.h iwmc3200wifi: cleanup unneeded debugfs error handling 2010-05-03 14:46:37 -04:00
cfg80211.c
cfg80211.h
commands.c
commands.h
debug.h iwmc3200wifi: fix busted iwm_debugfs_init definition 2010-05-03 16:21:10 -04:00
debugfs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
eeprom.c
eeprom.h
fw.c
fw.h
hal.c
hal.h
iwm.h
Kconfig
lmac.h
main.c
Makefile
netdev.c
rx.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
rx.h
sdio.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sdio.h
trace.c
trace.h
tx.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
umac.h