summaryrefslogtreecommitdiff
path: root/tools/testing/kunit/kunit_parser.py
diff options
context:
space:
mode:
authorDaniel Latypov <dlatypov@google.com>2023-03-17 01:06:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-25 13:03:00 +0300
commitf1f4e3be2a4ba68537932360f5fcdf96e45bed87 (patch)
tree12138708fbdb02b630a3051d41f61d92dbe57146 /tools/testing/kunit/kunit_parser.py
parent941288c4ba9d03fbf452eac0e5b6d1d6752a9913 (diff)
downloadlinux-f1f4e3be2a4ba68537932360f5fcdf96e45bed87.tar.xz
kunit: tool: remove unused imports and variables
[ Upstream commit 126901ba3499880c9ed033633817cf7493120fda ] We don't run a linter regularly over kunit.py code (the default settings on most don't like kernel style, e.g. tabs) so some of these imports didn't get removed when they stopped being used. Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Stable-dep-of: 40804c4974b8 ("kunit: tool: copy caller args in run_kernel to prevent mutation") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing/kunit/kunit_parser.py')
-rw-r--r--tools/testing/kunit/kunit_parser.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/kunit/kunit_parser.py b/tools/testing/kunit/kunit_parser.py
index c02100b70af6..d5abd0567c8e 100644
--- a/tools/testing/kunit/kunit_parser.py
+++ b/tools/testing/kunit/kunit_parser.py
@@ -11,7 +11,6 @@
from __future__ import annotations
import re
-import sys
import textwrap
from enum import Enum, auto