summaryrefslogtreecommitdiff
path: root/firmware/lib/include
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-06-25 15:54:23 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-06 21:33:35 +0000
commit9cff6fe1b866abf9c1ad63dd5a9aae415c813296 (patch)
tree084935aafd9ac28dbcd58fc2d458cfd1d3e62fc7 /firmware/lib/include
parenta5ab221a1aebbd159a8f3ff9c68a8e4a8d247421 (diff)
downloadvboot-9cff6fe1b866abf9c1ad63dd5a9aae415c813296.tar.gz
vboot: replace Min macro with VB2_MINstabilize-12331.B
Replace old vboot1-style Min macro with VB2_MIN, and relocate tests accordingly. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I73d630147eaf23f97dd750769fb1e911dae01848 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1675866 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/lib/include')
-rw-r--r--firmware/lib/include/utility.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/lib/include/utility.h b/firmware/lib/include/utility.h
index e5539751..10562a58 100644
--- a/firmware/lib/include/utility.h
+++ b/firmware/lib/include/utility.h
@@ -22,9 +22,6 @@
#define VbAssert(expr)
#endif
-/* Return the minimum of (a) or (b). */
-#define Min(a, b) (((a) < (b)) ? (a) : (b))
-
/*
* Buffer size required to hold the longest possible output of Uint64ToString()
* - that is, Uint64ToString(~0, 2).