aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-01-24 15:45:10 -0500
committerRusty Russell <rusty@rustcorp.com.au>2011-01-23 23:15:11 -0500
commit1765e3a4933ea0870fabd755feffc5473c4363ce (patch)
tree208364f2933f96773310a3a6c4dce6a21f66eec7 /include/linux/kernel.h
parent7ef88ad561457c0346355dfd1f53e503ddfde719 (diff)
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>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 864712f3653d..e2f4d6af2125 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -611,7 +611,6 @@ extern int __build_bug_on_failed;
611 if (condition) __build_bug_on_failed = 1; \ 611 if (condition) __build_bug_on_failed = 1; \
612 } while(0) 612 } while(0)
613#endif 613#endif
614#define MAYBE_BUILD_BUG_ON(condition) BUILD_BUG_ON(condition)
615 614
616/* Trap pasters of __FUNCTION__ at compile-time */ 615/* Trap pasters of __FUNCTION__ at compile-time */
617#define __FUNCTION__ (__func__) 616#define __FUNCTION__ (__func__)