original_kernel/net/sctp
Joe Perches 3fa21e07e6 net: Remove unnecessary returns from void function()s
This patch removes from net/ (but not any netfilter files)
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.

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; }'

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-17 23:23:14 -07:00
..
Kconfig
Makefile
associola.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
auth.c
bind_addr.c
chunk.c
command.c
debug.c
endpointola.c
input.c sctp: Fix a race between ICMP protocol unreachable and connect() 2010-05-06 00:56:07 -07:00
inqueue.c
ipv6.c
objcnt.c
output.c
outqueue.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
primitive.c
probe.c
proc.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
protocol.c
sm_make_chunk.c sctp: fix append error cause to ERROR chunk correctly 2010-05-17 22:51:58 -07:00
sm_sideeffect.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
sm_statefuns.c
sm_statetable.c
socket.c net: reserve ports for applications using fixed port numbers 2010-05-15 23:28:40 -07:00
ssnmap.c
sysctl.c
transport.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-16 22:26:58 -07:00
tsnmap.c
ulpevent.c
ulpqueue.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00