mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn
In AmlCodeGenReturn, the cast to AML_NODE_HEADER* in the call to AmlSetFixedArgument is redundant because ReturnNode is already a AML_NODE_HEADER* . Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
45b1612659
commit
007a95055b
@ -1585,7 +1585,7 @@ AmlCodeGenReturn (
|
||||
Status = AmlSetFixedArgument (
|
||||
ObjectNode,
|
||||
EAmlParseIndexTerm0,
|
||||
(AML_NODE_HEADER *)ReturnNode
|
||||
ReturnNode
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
ASSERT (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user