summaryrefslogtreecommitdiff
path: root/include/linux/build_bug.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-11 08:30:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-11 08:30:05 +0100
commit3dba1da360da5071d013fd0fb8839124104390fa (patch)
tree6e1efe643077ca559fbf0d6c89ac9358e1f8319e /include/linux/build_bug.h
parentd61adf609c48b9e91a84e9a943f0b3bcd84c3cad (diff)
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff)
Merge 5.11-rc3 into staging-next
We need the staging fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/build_bug.h')
-rw-r--r--include/linux/build_bug.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h
index 7bb66e15b481..e3a0be2c90ad 100644
--- a/include/linux/build_bug.h
+++ b/include/linux/build_bug.h
@@ -77,9 +77,4 @@
#define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
-#ifdef __GENKSYMS__
-/* genksyms gets confused by _Static_assert */
-#define _Static_assert(expr, ...)
-#endif
-
#endif /* _LINUX_BUILD_BUG_H */