]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: warn on unnecessary void function return statements
authorJoe Perches <joe@perches.com>
Wed, 4 Jun 2014 23:12:09 +0000 (16:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:20 +0000 (16:54 -0700)
commit9819cf252a0fad1bf46aac8a051cf30426e073ee
treefa33227f9a4e931a5e3c4e229a850f854f543e04
parentafc819ab0293be3bd5c16d9eba26f9d57f61c42a
checkpatch: warn on unnecessary void function return statements

void function lines that use a single tab then "return;" are generally
unnecessary.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl