mirror of https://github.com/acidanthera/audk.git
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 (
|
Status = AmlSetFixedArgument (
|
||||||
ObjectNode,
|
ObjectNode,
|
||||||
EAmlParseIndexTerm0,
|
EAmlParseIndexTerm0,
|
||||||
(AML_NODE_HEADER *)ReturnNode
|
ReturnNode
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
ASSERT (0);
|
ASSERT (0);
|
||||||
|
|
Loading…
Reference in New Issue