]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn
authorRebecca Cran <quic_rcran@quicinc.com>
Thu, 13 Jan 2022 16:40:51 +0000 (09:40 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 2 Feb 2022 18:38:55 +0000 (18:38 +0000)
commit007a95055b2cad8930caf2ff7615dd0dbb189b6a
tree8e3bc3fede0318fc09b26c2c8d7b59d788fffa7f
parent45b1612659d99eb6d58c8c6e52f2ae227a89cd16
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>
DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c