WSL2-Linux-Kernel/net/xfrm
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
xfrm_algo.c
xfrm_hash.c
xfrm_hash.h net: Remove unnecessary semicolons after switch statements 2010-05-17 17:44:35 -07:00
xfrm_input.c
xfrm_ipcomp.c
xfrm_output.c
xfrm_policy.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
xfrm_proc.c
xfrm_state.c
xfrm_sysctl.c
xfrm_user.c xfrm: add severity to printk 2010-05-17 23:23:13 -07:00