]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ktest.pl: Remove unused declarations in run_bisect_test function
authorBa Jing <bajing@cmss.chinamobile.com>
Mon, 2 Sep 2024 13:07:35 +0000 (21:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:01 +0000 (12:50 +0100)
[ Upstream commit 776735b954f49f85fd19e1198efa421fae2ad77c ]

Since $output and $ret are not used in the subsequent code, the declarations
should be removed.

Fixes: a75fececff3c ("ktest: Added sample.conf, new %default option format")
Link: https://lore.kernel.org/20240902130735.6034-1-bajing@cmss.chinamobile.com
Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/ktest/ktest.pl

index 99e17a0a13649f616f0b3c3faba32bd7a45356db..f7f371a91ed97af80a94ad53ac0b208234e2da76 100755 (executable)
@@ -2939,8 +2939,6 @@ sub run_bisect_test {
 
     my $failed = 0;
     my $result;
-    my $output;
-    my $ret;
 
     $in_bisect = 1;