qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 14/27] scripts/modinfo-collect: remove unused/dead code


From: John Snow
Subject: Re: [PATCH 14/27] scripts/modinfo-collect: remove unused/dead code
Date: Wed, 16 Mar 2022 16:02:32 -0400



On Wed, Mar 16, 2022, 5:53 AM <marcandre.lureau@redhat.com> wrote:
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 scripts/modinfo-collect.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/modinfo-collect.py b/scripts/modinfo-collect.py
index 61b90688c6dc..4e7584df6676 100755
--- a/scripts/modinfo-collect.py
+++ b/scripts/modinfo-collect.py
@@ -18,13 +18,8 @@ def find_command(src, target, compile_commands):

 def process_command(src, command):
     skip = False
-    arg = False
     out = []
     for item in shlex.split(command):
-        if arg:
-            out.append(x)
-            arg = False
-            continue
         if skip:
             skip = False
             continue
--
2.35.1.273.ge6ebfd0e8cbb

Acked-By <jsnow@redhat.com>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]