linux/drivers/net/wireless/iwlwifi
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
..
iwl-1000.c iwlwifi: greenfield support only true for 11n devices 2010-04-30 15:34:32 -07:00
iwl-3945-debugfs.c iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00
iwl-3945-debugfs.h iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00
iwl-3945-fh.h
iwl-3945-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
iwl-3945.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
iwl-3945.h iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00
iwl-4965-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-4965.c iwlwifi: make scan antenna forcing more generic 2010-04-16 13:54:29 -07:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: set hw parameters based on device type 2010-04-30 15:34:32 -07:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: greenfield support only true for 11n devices 2010-04-30 15:34:32 -07:00
iwl-agn-debugfs.c iwlwifi: add debugfs ops to iwlwifi 2010-04-16 13:51:31 -07:00
iwl-agn-debugfs.h iwlwifi: add debugfs ops to iwlwifi 2010-04-16 13:51:31 -07:00
iwl-agn-hcmd.c iwlwifi: make BT coex config a virtual method 2010-04-16 13:53:34 -07:00
iwl-agn-hw.h iwlwifi: code cleanup for generic defines 2010-04-02 12:52:17 -07:00
iwl-agn-ict.c iwlwifi: change spin_lock to spin_lock_irqsave 2010-03-25 11:22:08 -07:00
iwl-agn-led.c
iwl-agn-led.h
iwl-agn-lib.c Merge branch 'wireless-2.6' into wireless-next-2.6 2010-04-30 15:13:00 -07:00
iwl-agn-rs.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
iwl-agn-rs.h
iwl-agn-tx.c iwlwifi: set AMPDU status variables correctly 2010-04-30 15:34:31 -07:00
iwl-agn-ucode.c iwlwifi: more code clean up for agn devices 2010-04-16 13:53:20 -07:00
iwl-agn.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
iwl-agn.h iwlwifi: trigger scan synchronously 2010-04-16 13:47:37 -07:00
iwl-calib.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
iwl-calib.h
iwl-commands.h Merge branch 'wireless-2.6' into wireless-next-2.6 2010-04-30 15:13:00 -07:00
iwl-core.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
iwl-core.h mac80211: give virtual interface to hw_scan 2010-04-27 16:09:23 -04:00
iwl-csr.h iwlwifi: add hw revision for 6000g2 NIC 2010-04-16 13:52:45 -07:00
iwl-debug.h iwlwifi: add debugfs ops to iwlwifi 2010-04-16 13:51:31 -07:00
iwl-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
iwl-dev.h iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00
iwl-devtrace.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
iwl-devtrace.h iwlwifi: don't include iwl-dev.h from iwl-devtrace.h 2010-03-30 22:02:21 +09:00
iwl-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
iwl-eeprom.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-21 01:14:25 -07:00
iwl-fh.h
iwl-hcmd.c iwlwifi: remove trailing space in messages 2010-04-02 12:53:54 -07:00
iwl-helpers.h
iwl-io.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
iwl-led.c iwlwifi: remove "\n" from module parameter description 2010-03-25 11:21:11 -07:00
iwl-led.h
iwl-power.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
iwl-power.h
iwl-prph.h iwlwifi: more code clean up for agn devices 2010-04-16 13:53:20 -07:00
iwl-rx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
iwl-scan.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
iwl-spectrum.h
iwl-sta.c iwlwifi: remove redundant iwl_dump_lq_cmd() 2010-04-16 13:52:33 -07:00
iwl-sta.h iwlwifi: make WEP key restoring explicit 2010-04-09 11:27:31 -07:00
iwl-tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-04-15 16:21:34 -04:00
iwl3945-base.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
Kconfig
Makefile iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00