Remove MAYBE_BUILD_BUG_ON
Now BUILD_BUG_ON() can handle optimizable constants, we don't need MAYBE_BUILD_BUG_ON any more. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
7ef88ad561
commit
1765e3a493
4 changed files with 6 additions and 4 deletions
|
|
@ -611,7 +611,6 @@ extern int __build_bug_on_failed;
|
|||
if (condition) __build_bug_on_failed = 1; \
|
||||
} while(0)
|
||||
#endif
|
||||
#define MAYBE_BUILD_BUG_ON(condition) BUILD_BUG_ON(condition)
|
||||
|
||||
/* Trap pasters of __FUNCTION__ at compile-time */
|
||||
#define __FUNCTION__ (__func__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue