diff options
author | Jeshua Smith <jeshuas@nvidia.com> | 2024-06-26 14:22:24 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-01 09:40:09 +0000 |
commit | 8bf27965dbb94ecccc453c60de3270acf238ea3d (patch) | |
tree | 9a2541c0958d7ea01171f8073b8a1462b30b9639 /DynamicTablesPkg/Library/Acpi | |
parent | 469d09d6b25f4ac83dd4ed511db45795aa09d45b (diff) | |
download | edk2-8bf27965dbb94ecccc453c60de3270acf238ea3d.zip edk2-8bf27965dbb94ecccc453c60de3270acf238ea3d.tar.gz edk2-8bf27965dbb94ecccc453c60de3270acf238ea3d.tar.bz2 |
DynamicTablesPkg: AmlLib remove unnecessary cast
Now that CONST input strings to the AmlLib APIs
are properly marked as CONST we don't need to cast
them to non-CONST before passing them.
Signed-off-by: Jeshua Smith <jeshuas@nvidia.com>
Diffstat (limited to 'DynamicTablesPkg/Library/Acpi')
-rw-r--r-- | DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c index b990686..6118df0 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c @@ -372,7 +372,7 @@ FixupCmn600Info ( }
// Update the CMN600 Device's name.
- Status = AmlDeviceOpUpdateName (DeviceNode, (CHAR8 *)Name);
+ Status = AmlDeviceOpUpdateName (DeviceNode, Name);
if (EFI_ERROR (Status)) {
goto error_handler;
}
|