From 7b2207f058ea04261a33bd73e54c8b3e6f4715b6 Mon Sep 17 00:00:00 2001 From: jji4 Date: Fri, 6 Feb 2009 05:52:20 +0000 Subject: [PATCH] Coding style checked git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7459 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c index 0e412860d5..44de6eeaa0 100644 --- a/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c +++ b/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c @@ -709,11 +709,11 @@ EfiFvbEraseCustomBlockRange ( return EFI_INVALID_PARAMETER; } - if (!(mFvbEntry[Instance].FvbExtension)) { + if (mFvbEntry[Instance].FvbExtension == NULL) { return EFI_UNSUPPORTED; } - if (!(mFvbEntry[Instance].FvbExtension->EraseFvbCustomBlock)) { + if (mFvbEntry[Instance].FvbExtension->EraseFvbCustomBlock == NULL) { return EFI_UNSUPPORTED; }