[RFC PATCH 2/5] compiler_types.h: don't #define __inline__

From: Rasmus Villemoes
Date: Thu Aug 29 2019 - 04:34:16 EST


The spelling __inline__ should be reserved for uses where one really
wants to refer to the inline keyword, regardless of whether or not the
spelling "inline" has been #defined to something else. Most users of
__inline__ have been converted to inline, for the remaining, this
represents a small change of semantics.

Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
---
include/linux/compiler_types.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
index 599c27b56c29..4a8b63e3a31d 100644
--- a/include/linux/compiler_types.h
+++ b/include/linux/compiler_types.h
@@ -150,7 +150,6 @@ struct ftrace_likely_data {
__maybe_unused notrace
#endif

-#define __inline__ inline
#define __inline inline

/*
--
2.20.1