diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c index b8dbffb665..bd55156169 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -254,7 +254,7 @@ BdsLibConnectConsoleVariable ( gBS->FreePool (StartDevicePath); - if (DeviceExist == FALSE) { + if (!DeviceExist) { return EFI_NOT_FOUND; }