Skip to content
Snippets Groups Projects
Commit 6be2069f authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

lrdp-v2: rtb: remove usage of nonexistent variable

rtb_data_offset doesn't exist anymore but it was still being passed to a
function (that did nothing with it). Remove it.

Change-Id: I4f3b03ce16fdb43b608b24ed8c61b7497d6f3867
parent f440089c
No related branches found
No related tags found
No related merge requests found
...@@ -156,13 +156,11 @@ class RTB(RamParser): ...@@ -156,13 +156,11 @@ class RTB(RamParser):
item = item & 0x7F item = item & 0x7F
name_str = '(unknown)' name_str = '(unknown)'
if item >= len(self.name_lookup_table) or item < 0: if item >= len(self.name_lookup_table) or item < 0:
self.print_none(rtb_out, ptr, name_str, self.print_none(rtb_out, ptr, None)
rtb_data_offset, rtb_caller_offset)
else: else:
name_str = self.name_lookup_table[item] name_str = self.name_lookup_table[item]
if name_str not in print_table: if name_str not in print_table:
self.print_none(rtb_out, ptr, name_str, self.print_none(rtb_out, ptr, None)
rtb_data_offset, rtb_caller_offset)
else: else:
func = print_table[name_str] func = print_table[name_str]
getattr(RTB, func)(self, rtb_out, ptr, name_str) getattr(RTB, func)(self, rtb_out, ptr, name_str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment