The patch titled Subject: checkpatch: remove unused variable declarations has been removed from the -mm tree. Its filename was checkpatch-remove-unused-variable-declarations.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: "Tobin C. Harding" <me@xxxxxxxx> Subject: checkpatch: remove unused variable declarations Variables are declared and not used, we should remove them. Link: http://lkml.kernel.org/r/1519700648-23108-3-git-send-email-me@xxxxxxxx Signed-off-by: Tobin C. Harding <me@xxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/checkpatch.pl | 2 -- 1 file changed, 2 deletions(-) diff -puN scripts/checkpatch.pl~checkpatch-remove-unused-variable-declarations scripts/checkpatch.pl --- a/scripts/checkpatch.pl~checkpatch-remove-unused-variable-declarations +++ a/scripts/checkpatch.pl @@ -6096,7 +6096,6 @@ sub process { } if ($r1 !~ /^sizeof\b/ && $r2 =~ /^sizeof\s*\S/ && !($r1 =~ /^$Constant$/ || $r1 =~ /^[A-Z_][A-Z0-9_]*$/)) { - my $ctx = ''; my $herectx = $here . "\n"; my $cnt = statement_rawlines($stat); for (my $n = 0; $n < $cnt; $n++) { @@ -6184,7 +6183,6 @@ sub process { if ($^V && $^V ge 5.10.0 && defined $stat && $stat =~ /^\+[$;\s]*(?:case[$;\s]+\w+[$;\s]*:[$;\s]*|)*[$;\s]*\bdefault[$;\s]*:[$;\s]*;/g) { - my $ctx = ''; my $herectx = $here . "\n"; my $cnt = statement_rawlines($stat); for (my $n = 0; $n < $cnt; $n++) { _ Patches currently in -mm which might be from me@xxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html