From 49c3335187badc2cf6e214f9dec2b2eb448636d0 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sun, 17 Nov 2024 19:57:13 +0700 Subject: [PATCH] Fix missing variable initialization Fixed #60 --- Scripts/acpi_guru.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index b521037..e7b160c 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -1043,8 +1043,8 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "HPET", 0x00000000) if x.get("crs"): val += "{} _CRS to XCRS".format(" and " if val else x["dev_name"]) if val: suffix.append(val) - if suffix: - comment += " - Requires {} Rename".format(", ".join(suffix)) + #if suffix: + # comment += " - Requires {} Rename".format(", ".join(suffix)) # At this point - we need to do the following: # 1. Change STAS if needed # 2. Setup _STA with _OSI and call XSTA if needed