aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-21 18:27:19 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-22 14:46:17 +0400
commit06cef3bc5907aa79275dcbb8a8a53f618bc86545 (patch)
treeff6427db049fd144f3a8526baa00e7318f913fbf /scripts
parent519655970ebeb7a0dfe5ad3c1d1dc17a02b7faa6 (diff)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/modinfo-collect.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/modinfo-collect.py b/scripts/modinfo-collect.py
index 61b90688c6..4e7584df66 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