linux/drivers/net/irda
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
..
act200l-sir.c
actisys-sir.c
ali-ircc.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
ali-ircc.h
au1k_ir.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
au1000_ircc.h
bfin_sir.c net/irda: convert bfin_sir to net_device_ops 2009-06-29 19:41:49 -07:00
bfin_sir.h 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
donauboe.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
donauboe.h
ep7211-sir.c
esi-sir.c
girbil-sir.c
irda-usb.c net/irda: remove trailing space in messages 2010-03-24 14:01:55 -07:00
irda-usb.h
irtty-sir.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
irtty-sir.h
Kconfig net/irda: Add SuperH IrDA driver support 2010-04-06 19:50:21 -07:00
kingsun-sir.c headers: kref.h redux 2009-09-26 10:17:19 -07:00
ks959-sir.c headers: kref.h redux 2009-09-26 10:17:19 -07:00
ksdazzle-sir.c headers: kref.h redux 2009-09-26 10:17:19 -07:00
litelink-sir.c
ma600-sir.c
Makefile net/irda: Add SuperH IrDA driver support 2010-04-06 19:50:21 -07:00
mcp2120-sir.c
mcs7780.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
mcs7780.h irda: convert to netdev_tx_t 2009-09-01 01:13:38 -07:00
nsc-ircc.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
nsc-ircc.h
old_belkin-sir.c
pxaficp_ir.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
sa1100_ir.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
sh_irda.c net/irda: Add SuperH IrDA driver support 2010-04-06 19:50:21 -07:00
sh_sir.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
sir_dev.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
sir_dongle.c
sir-dev.h
smsc-ircc2.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
smsc-ircc2.h
smsc-sio.h
stir4200.c drivers/net: Move && and || to end of previous line 2009-12-03 13:18:01 -08:00
tekram-sir.c
toim3232-sir.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
via-ircc.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
via-ircc.h
vlsi_ir.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
vlsi_ir.h
w83977af_ir.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
w83977af_ir.h
w83977af.h