Merge tag 'compiler-attributes-for-linus-v5.11' of git://github.com/ojeda/linux
[platform/kernel/linux-rpi.git] / include / linux / compiler_types.h
index bbaa39e..e5dd5a4 100644 (file)
@@ -121,12 +121,6 @@ struct ftrace_likely_data {
        unsigned long                   constant;
 };
 
-#ifdef CONFIG_ENABLE_MUST_CHECK
-#define __must_check           __attribute__((__warn_unused_result__))
-#else
-#define __must_check
-#endif
-
 #if defined(CC_USING_HOTPATCH)
 #define notrace                        __attribute__((hotpatch(0, 0)))
 #elif defined(CC_USING_PATCHABLE_FUNCTION_ENTRY)