On Thu, 2010-05-13 at 15:20 +0200, Patrick McHardy wrote: > Joe Perches wrote: > > This patch removes from net/ netfilter files > > all the unnecessary return; statements that precede the > > last closing brace of void functions. > > 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; }' > > > Applied, but I changed the patch to keep the two return statements > below in otherwise empty function bodies since I consider that more > aesthetically pleasing. No worries, thanks. The patch is just for taste and consistency. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html