kernel-ark/drivers/net/wireless/orinoco
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
..
airport.c orinoco: encapsulate driver locking 2010-05-03 14:53:07 -04:00
cfg.c cfg80211/mac80211: better channel handling 2010-05-07 14:55:50 -04:00
cfg.h
fw.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
fw.h
hermes_dld.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes_dld.h
hermes_rid.h
hermes.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes.h orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hw.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
hw.h
Kconfig orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
main.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
main.h orinoco: use cfg80211_find_ie 2010-04-19 16:41:42 -04:00
Makefile orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
mic.c
mic.h
orinoco_cs.c orinoco: encapsulate driver locking 2010-05-03 14:53:07 -04:00
orinoco_nortel.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.h
orinoco_plx.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_tmd.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_usb.c orinoco: refactor xmit path 2010-05-07 14:55:49 -04:00
orinoco.h orinoco: refactor xmit path 2010-05-07 14:55:49 -04:00
scan.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
scan.h
spectrum_cs.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
wext.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
wext.h