]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 30 Jun 2008 02:20:53 +0000 (02:20 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 30 Jun 2008 02:20:53 +0000 (02:20 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5378 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/GenericBdsLib/BdsConsole.c

index b8dbffb665e86e635096d1393b345604d9f40f46..bd551561694cf5a3f00c2ce81307eb4141e301fe 100644 (file)
@@ -254,7 +254,7 @@ BdsLibConnectConsoleVariable (
 \r
   gBS->FreePool (StartDevicePath);\r
 \r
-  if (DeviceExist == FALSE) {\r
+  if (!DeviceExist) {\r
     return EFI_NOT_FOUND;\r
   }\r
 \r