linux/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 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
cfg80211.h
commands.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
commands.h iwmc3200wifi: refuse to associate on unallowed channels 2010-03-10 17:09:37 -05:00
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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
eeprom.h iwmc3200wifi: Update wireless_mode with eeprom values 2009-11-28 15:04:42 -05:00
fw.c
fw.h
hal.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
hal.h iwmc3200wifi: increase concatenated buffer 2010-03-10 17:09:39 -05:00
iwm.h iwmc3200wifi: protect rx_tickets and rx_packets[] lists 2010-03-10 17:09:38 -05:00
Kconfig iwmc3200wifi: add ftrace event tracing support 2010-03-10 17:09:38 -05:00
lmac.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
main.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
Makefile iwmc3200wifi: check sparse endianness annotations 2010-04-16 15:47:02 -04:00
netdev.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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 iwmc3200wifi: add ftrace event tracing support 2010-03-10 17:09:38 -05:00
trace.h iwmc3200wifi: Fix sparse warnings 2010-04-16 15:47:00 -04:00
tx.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
umac.h iwmc3200wifi: typo fix and code cleanup 2010-03-10 17:09:39 -05:00