all: Fix cases of Python variable assigned but never used.

This fixes ruff rule F841.
This commit is contained in:
Christian Clauss
2023-03-10 07:33:32 +01:00
committed by Damien George
parent 79e57473b2
commit 2a1db770ce
11 changed files with 10 additions and 17 deletions

View File

@@ -471,7 +471,6 @@ def do_relocation_text(env, text_addr, r):
# Extract relevant info about symbol that's being relocated
s = r.sym
s_bind = s.entry["st_info"]["bind"]
s_shndx = s.entry["st_shndx"]
s_type = s.entry["st_info"]["type"]
r_offset = r["r_offset"] + text_addr
r_info_type = r["r_info_type"]