]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 Dec 2024 21:51:50 +0000 (16:51 -0500)
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>
tools/testing/ktest/ktest.pl

index 171262915636b6287e6639e95be5420b5bc8e0df..c76ad0be54e2ed402179e698b9b054f3bcae7508 100755 (executable)
@@ -2965,8 +2965,6 @@ sub run_bisect_test {
 
     my $failed = 0;
     my $result;
-    my $output;
-    my $ret;
 
     $in_bisect = 1;