linux/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
..
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
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 net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfdgml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cffrml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfmuxl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfpkt_skbuff.c net-caif: add CAIF generic caif support functions 2010-03-30 19:08:47 -07:00
cfrfml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfserl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfsrvl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfutill.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfveil.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfvidl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
chnl_net.c caif: Bugfixes in CAIF netdevice for close and flow control 2010-04-28 12:55:14 -07:00