Skip to content

Commit

Permalink
python-capdl-tool: remove redundant assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <nick@nickspinale.com>
  • Loading branch information
nspin authored and lsf37 committed Feb 14, 2024
1 parent 16ca2e2 commit f7ef9ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python-capdl-tool/capdl/ELF.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def get_pages(self, infer_asid=True, pd=None, use_large_frames=True, addr_space=
existing_pages = []
if addr_space:
# Update symbols with their vaddrs in the AddressSpaceAllocator if we were given one
existing_pages = []
for (symbol, (sizes, caps)) in iteritems(addr_space.get_symbols_and_clear()):
assert self.get_symbol_size(symbol) >= sum(sizes), \
"Symbol (%s:%d) must have same or greater size than supplied cap range (%d)" % (
Expand Down

0 comments on commit f7ef9ca

Please sign in to comment.