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
1 changed files with 0 additions and 5 deletions

View File

@ -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