linux_dsm_epyc7002/drivers/net/wireless/wl12xx
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
..
Kconfig
Makefile
wl12xx_80211.h
wl1251_acx.c
wl1251_acx.h
wl1251_boot.c
wl1251_boot.h
wl1251_cmd.c
wl1251_cmd.h
wl1251_debugfs.c
wl1251_debugfs.h
wl1251_event.c
wl1251_event.h
wl1251_init.c
wl1251_init.h
wl1251_io.c
wl1251_io.h
wl1251_main.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
wl1251_ps.c
wl1251_ps.h
wl1251_reg.h
wl1251_rx.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
wl1251_rx.h
wl1251_sdio.c
wl1251_spi.c
wl1251_spi.h
wl1251_tx.c
wl1251_tx.h
wl1251.h
wl1271_acx.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
wl1271_acx.h
wl1271_boot.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
wl1271_boot.h wl1271: Add sysfs file to retrieve HW PG-version and ROM-version 2010-05-07 14:57:18 -04:00
wl1271_cmd.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
wl1271_cmd.h wl1271: Increase timeout for command event waiting 2010-05-07 14:57:19 -04:00
wl1271_conf.h wl1271: fix a bunch of sparse warnings 2010-04-28 16:50:27 -04:00
wl1271_debugfs.c
wl1271_debugfs.h
wl1271_event.c
wl1271_event.h
wl1271_init.c
wl1271_init.h
wl1271_io.c
wl1271_io.h wl1271: Fix 32 bit register read related endiannes bug 2010-05-07 14:57:18 -04:00
wl1271_main.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
wl1271_ps.c
wl1271_ps.h
wl1271_reg.h
wl1271_rx.c
wl1271_rx.h
wl1271_sdio.c
wl1271_spi.c
wl1271_testmode.c
wl1271_testmode.h
wl1271_tx.c
wl1271_tx.h
wl1271.h wl1271: Fix 32 bit register read related endiannes bug 2010-05-07 14:57:18 -04:00