linux/net
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
..
9p net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
802
8021q net: Remove unnecessary semicolons after switch statements 2010-05-17 17:44:35 -07:00
appletalk
atm net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
ax25
bluetooth net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
bridge bridge: update sysfs link names if port device names have changed 2010-05-15 23:10:15 -07:00
caif net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
can net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
core net: Add netlink support for virtual port management (was iovnl) 2010-05-17 22:49:55 -07:00
dcb
dccp
decnet net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
dsa
econet
ethernet
ieee802154
ipv4 net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
ipv6 net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
ipx
irda net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
iucv net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
key pfkey: add severity to printk 2010-05-17 23:23:13 -07:00
l2tp
lapb
llc
mac80211 net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
netfilter net: add a noref bit on skb dst 2010-05-17 17:18:50 -07:00
netlabel net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
netlink
netrom
packet
phonet
rds net: Remove unnecessary semicolons after switch statements 2010-05-17 17:44:35 -07:00
rfkill
rose
rxrpc
sched net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
sctp net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
sunrpc net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
tipc tipc: Reduce footprint by un-inlining tipc_msg_* routines 2010-05-12 23:02:29 -07:00
unix
wanrouter
wimax net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
wireless
x25 X25: Remove bkl in sockopts 2010-05-17 17:39:28 -07:00
xfrm net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c net: Remove unnecessary semicolons after switch statements 2010-05-17 17:44:35 -07:00
sysctl_net.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
TUNABLE