mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 21:24:35 +02:00
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:
parent
469d09d6b2
commit
8bf27965db
@ -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;
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user