diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index e5f476f3d3a6..e4f142c5564d 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h @@ -33,14 +33,6 @@ #define __SANITIZE_ADDRESS__ #endif -/* - * GCC does not warn about unused static inline functions for - * -Wunused-function. This turns out to avoid the need for complex #ifdef - * directives. Suppress the warning in clang as well. - */ -#undef inline -#define inline inline __attribute__((unused)) notrace - /* Clang doesn't have a way to turn it off per-function, yet. */ #ifdef __noretpoline #undef __noretpoline