commit | 1c55ddb75833b6bb6b7ebafd0fdf4f47596a4505 | [log] [tgz] |
---|---|---|
author | android-merger <android-build@android.com> | Thu Jul 07 14:54:24 2011 -0700 |
committer | android-merger <android-build@android.com> | Thu Jul 07 14:54:24 2011 -0700 |
tree | 8179cf23a1b0906d8e4fc7d186a6df2203a6bb9a | |
parent | cf7369a45845466dffba252d62364f49dfc3b30d [diff] |
Revert "add bounds checking for mPartMinors[]" This reverts commit f3d3ce5e53ab7928f4c292c183c417a1bd051151.
diff --git a/DirectVolume.cpp b/DirectVolume.cpp index 0ac1a0c..ce5b892 100644 --- a/DirectVolume.cpp +++ b/DirectVolume.cpp
@@ -186,11 +186,6 @@ part_num = 1; } - if (part_num > MAX_PARTITIONS || part_num < 1) { - SLOGW("Invalid 'PARTN' value"); - part_num = 1; - } - if (part_num > mDiskNumParts) { mDiskNumParts = part_num; }