linux/drivers/net/wimax/i2400m
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
..
control.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
debug-levels.h
debugfs.c wimax/i2400m: introduce i2400m_reset(), stopping TX and carrier 2009-11-03 12:49:36 -08:00
driver.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
fw.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
i2400m-sdio.h wimax/i2400m: don't retry SDIO enable in probe() paths 2009-11-03 12:49:39 -08:00
i2400m-usb.h wimax/i2400m: Add support for more i6x50 SKUs 2010-01-21 16:49:24 -08:00
i2400m.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
Kconfig i2400m-sdio: select IWMC3200TOP in Kconfig 2009-10-19 23:22:51 -07:00
Makefile
netdev.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
op-rfkill.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
rx.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sdio-debug-levels.h
sdio-fw.c wimax/i2400m: be smarter about copying command buffer to bm_cmd_buf 2009-10-19 15:55:46 +09:00
sdio-rx.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sdio-tx.c wimax/i2400m: fix oops in TX when tearing down the device 2009-10-19 15:56:20 +09:00
sdio.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
sysfs.c
tx.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
usb-debug-levels.h
usb-fw.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
usb-notif.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
usb-rx.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
usb-tx.c wimax/i2400m: handle USB stalls 2009-11-03 12:49:40 -08:00
usb.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