summaryrefslogtreecommitdiff
path: root/firmware/lib/include/vboot_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/include/vboot_common.h')
-rw-r--r--firmware/lib/include/vboot_common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/lib/include/vboot_common.h b/firmware/lib/include/vboot_common.h
index 90678123..ce7fbdfa 100644
--- a/firmware/lib/include/vboot_common.h
+++ b/firmware/lib/include/vboot_common.h
@@ -12,15 +12,6 @@
#include "2struct.h"
#include "vboot_struct.h"
-/* Test an important condition at compile time, not run time */
-#ifndef BUILD_ASSERT
-#define _BA1_(cond, line) \
- extern int __build_assertion_ ## line[1 - 2*!(cond)] \
- __attribute__ ((unused))
-#define _BA0_(c, x) _BA1_(c, x)
-#define BUILD_ASSERT(cond) _BA0_(cond, __LINE__)
-#endif
-
/* Error Codes for all common functions. */
enum {
VBOOT_SUCCESS = 0,