Fix unintented loop in code

  Fix while loop to break out after dimm size found

Change-Id: I0353be1182c4fbc9b8cdadffee439c616b9f301d
Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
diff --git a/vpd-parser/memory_vpd_parser.cpp b/vpd-parser/memory_vpd_parser.cpp
index f6c97b4..1a7d83c 100644
--- a/vpd-parser/memory_vpd_parser.cpp
+++ b/vpd-parser/memory_vpd_parser.cpp
@@ -208,7 +208,7 @@
                     l_diePerPackage * l_densityPerDie * l_ranksPerChannel) /
                    (8 * l_dramWidth);
 
-    } while (1);
+    } while (false);
 
     return constants::CONVERT_MB_TO_KB * dimmSize;
 }