Type & import clean-up

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie09b583a0eb930afc429904e84fe46433ef33b3b
This commit is contained in:
Maisam Arif
2023-10-24 20:14:58 -05:00
committed by Maisam Arif
parent 6d59e9b71d
commit 741839d8e4
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -385,7 +385,7 @@ class AmdSmiEventReader:
)
)
ret = list()
ret = []
for i in range(0, num_elem):
unique_event_values = set(event.value for event in AmdSmiEvtNotificationType)
if self.event_info[i].event in unique_event_values:
@@ -436,7 +436,7 @@ def _format_bad_page_info(bad_page_info, bad_page_count: ctypes.c_uint32) -> Lis
amdsmi_wrapper.amdsmi_retired_page_record_t)
)
table_records = list()
table_records = []
for i in range(bad_page_count.value):
table_records.append(
{