aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/linux/compiler.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2021-10-15 10:31:44 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-03-12 11:00:57 -0300
commit7177a4792660c605906582ef0bb8f6bb7ff971a1 (patch)
tree5d1901f343975c8c8f42bd97900ae533dc9f3c6c /tools/include/linux/compiler.h
parentperf tools: Use ARRAY_SIZE() instead of ad hoc equivalent, spotted by array_size.cocci (diff)
downloadlinux-dev-7177a4792660c605906582ef0bb8f6bb7ff971a1.tar.xz
linux-dev-7177a4792660c605906582ef0bb8f6bb7ff971a1.zip
tools compiler.h: Remove duplicate #ifndef noinline block
The same three lines also appear a bit earlier in the same file. Reviewed-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20211015083144.2767725-1-linux@rasmusvillemoes.dk Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/linux/compiler.h')
-rw-r--r--tools/include/linux/compiler.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h
index ff872dc2637c..90ba44a99199 100644
--- a/tools/include/linux/compiler.h
+++ b/tools/include/linux/compiler.h
@@ -102,10 +102,6 @@
# define __init
#endif
-#ifndef noinline
-# define noinline
-#endif
-
#include <linux/types.h>
/*