]> git.baikalelectronics.ru Git - kernel.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)
commitdc9bcc18109c318b99c96dd5f87b84bf18463630
treefa33227f9a4e931a5e3c4e229a850f854f543e04
parent2fd3dfa7ad0cc6e4804f3800059faa3355fce735
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