mirror of https://gitee.com/openkylin/qemu.git
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:
parent
519655970e
commit
06cef3bc59
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue