]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/ubi_uboot.h
common: move BUILD_BUG_ON define to common.h
[karo-tx-uboot.git] / include / ubi_uboot.h
index d2c90a6b44715b64f6fbf5df84e99ba1bc633018..69006e250accd4e28ccec0594bc528b9d2809415 100644 (file)
@@ -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