OpenCloudOS-Kernel/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
..
Kconfig orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
Makefile orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04: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 orinoco: initiate cfg80211 conversion 2009-07-10 15:01:44 -04:00
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.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
hermes_dld.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes_dld.h
hermes_rid.h
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 net: convert multicast list to list_head 2010-04-03 14:22:15 -07: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
mic.c
mic.h
orinoco.h orinoco: refactor xmit path 2010-05-07 14:55:49 -04:00
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: Handle suspend/restore in core driver 2009-07-10 15:01:46 -04:00
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
scan.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
scan.h orinoco: convert scanning to cfg80211 2009-07-10 15:01:46 -04:00
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