[PATCH v2] verification/dot2k: Delete duplicate imports

Alessandro Carminati (Red Hat) posted 1 patch 2 years, 3 months ago
tools/verification/dot2/dot2k | 2 --
1 file changed, 2 deletions(-)
[PATCH v2] verification/dot2k: Delete duplicate imports
Posted by Alessandro Carminati (Red Hat) 2 years, 3 months ago
The presence of duplicate import lines appears to be a typo.
Removing them.

Fixes: 24bce201d798 ("tools/rv: Add dot2k")
Signed-off-by: Alessandro Carminati (Red Hat) <alessandro.carminati@gmail.com>
---
 tools/verification/dot2/dot2k | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/verification/dot2/dot2k b/tools/verification/dot2/dot2k
index 9dcd38abe20a..d4d7e52d549e 100644
--- a/tools/verification/dot2/dot2k
+++ b/tools/verification/dot2/dot2k
@@ -15,8 +15,6 @@ if __name__ == '__main__':
     import os
     import platform
     import sys
-    import sys
-    import argparse
 
     parser = argparse.ArgumentParser(description='transform .dot file into kernel rv monitor')
     parser.add_argument('-d', "--dot", dest="dot_file", required=True)
-- 
2.34.1
Re: [PATCH v2] verification/dot2k: Delete duplicate imports
Posted by Daniel Bristot de Oliveira 2 years, 3 months ago
On 9/6/23 17:57, Alessandro Carminati (Red Hat) wrote:
> The presence of duplicate import lines appears to be a typo.
> Removing them.
> 
> Fixes: 24bce201d798 ("tools/rv: Add dot2k")
> Signed-off-by: Alessandro Carminati (Red Hat) <alessandro.carminati@gmail.com>

Queued, thanks!

https://git.kernel.org/pub/scm/linux/kernel/git/bristot/linux.git/commit/?h=tools/verification&id=5a9587fea055163026b6d22d593fc64ed04de3a6

-- Daniel