kernel_optimize_test/net/caif
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
..
caif_config_util.c net-caif: add CAIF device registration functionality 2010-03-30 19:08:47 -07:00
caif_dev.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
caif_socket.c caif: Rewritten socket implementation 2010-04-28 12:55:14 -07:00
cfcnfg.c net/caif: Use kzalloc 2010-05-17 22:55:09 -07:00
cfctrl.c net/caif: Use kzalloc 2010-05-17 22:55:09 -07:00
cfdbgl.c
cfdgml.c
cffrml.c
cfmuxl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfpkt_skbuff.c
cfrfml.c
cfserl.c
cfsrvl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfutill.c
cfveil.c
cfvidl.c
chnl_net.c caif: Bugfixes in CAIF netdevice for close and flow control 2010-04-28 12:55:14 -07:00
Kconfig net-caif: add CAIF Kconfig and Makefiles 2010-03-30 19:08:49 -07:00
Makefile net-caif: add CAIF Kconfig and Makefiles 2010-03-30 19:08:49 -07:00