scripts/modinfo-collect: remove unused/dead code

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-02-21 18:27:19 +04:00
parent 519655970e
commit 06cef3bc59

View File

@ -18,13 +18,8 @@ def find_command(src, target, compile_commands):
def process_command(src, command): def process_command(src, command):
skip = False skip = False
arg = False
out = [] out = []
for item in shlex.split(command): for item in shlex.split(command):
if arg:
out.append(x)
arg = False
continue
if skip: if skip:
skip = False skip = False
continue continue