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>
This commit is contained in:
Jeshua Smith 2024-06-26 14:22:24 -07:00 committed by mergify[bot]
parent 469d09d6b2
commit 8bf27965db
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -381,7 +381,7 @@ FixupName (
}
// Update the Device's name.
return AmlDeviceOpUpdateName (DeviceNode, (CHAR8 *)Name);
return AmlDeviceOpUpdateName (DeviceNode, Name);
}
/** Fixup the Serial Port Information in the AML tree.