[PATCH] ktest: remove redundant declarations

Ba Jing posted 1 patch 1 year, 3 months ago
There is a newer version of this series
tools/testing/ktest/ktest.pl | 1 -
1 file changed, 1 deletion(-)
[PATCH] ktest: remove redundant declarations
Posted by Ba Jing 1 year, 3 months ago
Since $loops is not used in the subsequent code, its declaration should be removed.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 tools/testing/ktest/ktest.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index dacad94e2be4..8fcd9c5115f1 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -2169,7 +2169,6 @@ sub monitor {
     my $bug = 0;
     my $bug_ignored = 0;
     my $skip_call_trace = 0;
-    my $loops;
 
     my $start_time = time;
 
-- 
2.33.0