linux_dsm_epyc7002/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
..
iwl3945-base.c drivers/net: Remove unnecessary returns from void function()s 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
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
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
iwl-agn-debugfs.h
iwl-agn-hcmd.c iwlwifi: make BT coex config a virtual method 2010-04-16 13:53:34 -07:00
iwl-agn-hw.h
iwl-agn-ict.c
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
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
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
iwl-devtrace.h
iwl-eeprom.c
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
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
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
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
iwl-sta.h
iwl-tx.c
Kconfig
Makefile iwl3945: add ucode statistics 2010-04-30 15:34:31 -07:00