agesa/f15tn: Remove unnecessary logic op
One liner that fixes a warning with clang Change-Id: I4d7dfaa5fcf0e95acd650e4c129e0899b5d68f09 Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/21361 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
0025247171
commit
b92f6d36df
|
@ -67,7 +67,7 @@ FchSwInitGecBootRom (
|
|||
LocalCfgPtr = (FCH_DATA_BLOCK *) FchDataPtr;
|
||||
StdHeader = LocalCfgPtr->StdHeader;
|
||||
|
||||
if ( !LocalCfgPtr->Gec.PtrDynamicGecRomAddress == 0 ) {
|
||||
if ( LocalCfgPtr->Gec.PtrDynamicGecRomAddress ) {
|
||||
GecRomAddress = LocalCfgPtr->Gec.PtrDynamicGecRomAddress;
|
||||
GecShadowRomAddress = (VOID*) (UINTN) LocalCfgPtr->Gec.GecShadowRomBase;
|
||||
FchCopyMem (GecShadowRomAddress, GecRomAddress, 0x100);
|
||||
|
|
Loading…
Reference in New Issue