linux_dsm_epyc7002/drivers/net/wireless/rt2x00
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 rt2x00: Enable RT30xx by default. 2010-05-04 13:24:23 -04:00
Makefile
rt2x00.h rt2x00: provide beacon's txdesc to write_beacon callback function. 2010-05-10 14:56:49 -04:00
rt2x00config.c
rt2x00crypto.c rt2x00: Fix setting of txdesc->length field. 2010-05-10 14:56:47 -04:00
rt2x00debug.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
rt2x00debug.h
rt2x00dev.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
rt2x00dump.h
rt2x00firmware.c
rt2x00ht.c rt2x00: rt2800: use correct txop value in tx descriptor 2010-05-07 14:57:21 -04:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h
rt2x00link.c
rt2x00mac.c
rt2x00pci.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
rt2x00pci.h rt2x00: add txdesc parameter to write_tx_data 2010-04-16 15:32:00 -04:00
rt2x00queue.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
rt2x00queue.h rt2x00: rt2800: use correct txop value in tx descriptor 2010-05-07 14:57:21 -04:00
rt2x00reg.h rt2x00: rt2800: use correct txop value in tx descriptor 2010-05-07 14:57:21 -04:00
rt2x00soc.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
rt2x00soc.h rt2x00: remove KSEG1ADDR define from rt2x00soc.h 2010-03-10 16:16:53 -05:00
rt2x00usb.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
rt2x00usb.h rt2x00: add txdesc parameter to write_tx_data 2010-04-16 15:32:00 -04:00
rt61pci.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
rt61pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt73usb.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
rt73usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2400pci.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
rt2400pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500pci.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
rt2500pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500usb.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
rt2500usb.h
rt2800.h rt2x00: Fix HT40+/HT40- setting in rt2800. 2010-05-04 13:24:23 -04:00
rt2800lib.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
rt2800lib.h rt2x00: Factor out RXWI processing to common rt2800 code. 2010-05-10 14:56:48 -04:00
rt2800pci.c rt2x00: Fix beaconing on rt2800. 2010-05-10 14:56:49 -04:00
rt2800pci.h
rt2800usb.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
rt2800usb.h rt2x00: Clean up rt2800usb.h. 2010-05-10 14:56:47 -04:00