]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/GetPowerOfTwo32.c
Update EBC sub-dir of BaseLib according to code review comments.
[mirror_edk2.git] / MdePkg / Library / BaseLib / GetPowerOfTwo32.c
index 19b00dd760a055683aa6152c2bfce379f317e449..5cabff90695b612830726c74364d1be9f45cb1ff 100644 (file)
@@ -12,9 +12,7 @@
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
+\r
 \r
 \r
 #include "BaseLibInternals.h"\r
@@ -38,7 +36,7 @@ GetPowerOfTwo32 (
   IN      UINT32                    Operand\r
   )\r
 {\r
-  if (Operand == 0) {\r
+  if (0 == Operand) {\r
     return 0;\r
   }\r
 \r