]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibSse2/SetMemWrapper.c
remove unnecessary comments introduced by tools from MdePkg. The regular express...
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibSse2 / SetMemWrapper.c
index 609eab6db456a6e90cbcce4b7e2a1d55324b377e..7ef3298a9bd7a8bcc83da5f0d14f2cd321cac4af 100644 (file)
@@ -21,9 +21,7 @@
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
+\r
 \r
 \r
 #include "MemLibInternals.h"\r
@@ -32,7 +30,7 @@
   Fills a target buffer with a byte value, and returns the target buffer.\r
 \r
   This function fills Length bytes of Buffer with Value, and returns Buffer.\r
-  If Length is greater than (MAX_ADDRESS ? Buffer + 1), then ASSERT(). \r
+  If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
   @param  Buffer    Memory to set.\r
   @param  Length    Number of bytes to set.\r
@@ -49,7 +47,7 @@ SetMem (
   IN UINT8  Value\r
   )\r
 {\r
-  if (Length == 0) {\r
+  if (0 == Length) {\r
     return Buffer;\r
   }\r
 \r