diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1589d2530239..459de0d92bf8 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1842,21 +1842,6 @@ sub process { "Use of $flag is deprecated, please use \`$replacement->{$flag} instead.\n" . $herecurr) if ($replacement->{$flag}); } -# check for Kconfig help text having a real description - if ($realfile =~ /Kconfig/ && - $line =~ /\+?\s*(---)?help(---)?$/) { - my $length = 0; - for (my $l = $linenr; defined($lines[$l]); $l++) { - my $f = $lines[$l]; - $f =~ s/#.*//; - $f =~ s/^\s+//; - next if ($f =~ /^$/); - last if ($f =~ /^\s*config\s/); - $length++; - } - WARN("please write a paragraph that describes the config symbol fully\n" . $herecurr) if ($length < 4); - } - # check we are in a valid source file if not then ignore this hunk next if ($realfile !~ /\.(h|c|s|S|pl|sh)$/);