diff options
Diffstat (limited to 'include/linux/compiler-clang.h')
-rw-r--r-- | include/linux/compiler-clang.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index ea9126006a69..d614c5ea1b5e 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h | |||
@@ -21,4 +21,5 @@ | |||
21 | * -Wunused-function. This turns out to avoid the need for complex #ifdef | 21 | * -Wunused-function. This turns out to avoid the need for complex #ifdef |
22 | * directives. Suppress the warning in clang as well. | 22 | * directives. Suppress the warning in clang as well. |
23 | */ | 23 | */ |
24 | #define inline inline __attribute__((unused)) | 24 | #undef inline |
25 | #define inline inline __attribute__((unused)) notrace | ||