diff options
Diffstat (limited to 'include/linux/compiler-clang.h')
-rw-r--r-- | include/linux/compiler-clang.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index d614c5ea1b5e..de179993e039 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h | |||
@@ -15,11 +15,3 @@ | |||
15 | * with any version that can compile the kernel | 15 | * with any version that can compile the kernel |
16 | */ | 16 | */ |
17 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | 17 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) |
18 | |||
19 | /* | ||
20 | * GCC does not warn about unused static inline functions for | ||
21 | * -Wunused-function. This turns out to avoid the need for complex #ifdef | ||
22 | * directives. Suppress the warning in clang as well. | ||
23 | */ | ||
24 | #undef inline | ||
25 | #define inline inline __attribute__((unused)) notrace | ||