From c00e17c7fe184c966e34ad48bf753c930ebac1df Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Wed, 8 Jun 2011 23:07:05 +0000 Subject: common: move BUILD_BUG_ON define to common.h see discussion also here: http://patchwork.ozlabs.org/patch/75309/ Signed-off-by: Heiko Schocher cc: Wolfgang Denk cc: Holger Brunck --- include/ubi_uboot.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/ubi_uboot.h') diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index d2c90a6b44..69006e250a 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -191,9 +191,6 @@ static inline long IS_ERR(const void *ptr) return IS_ERR_VALUE((unsigned long)ptr); } -/* Force a compilation error if condition is true */ -#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) - /* module */ #define THIS_MODULE 0 #define try_module_get(...) 1 -- cgit v1.2.3