--- zzzz-none-000/linux-4.9.279/include/linux/compiler.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/include/linux/compiler.h 2023-02-08 11:43:43.000000000 +0000 @@ -612,4 +612,11 @@ */ #define prevent_tail_call_optimization() mb() +/* + * Wrap a value that may be unused so that the compiler doesn't warn about it, + * in a way that works with arbitrary expressions. This generates no extra + * code with optimization levels Os, O1 and better. + */ +#define MAYBE_UNUSED_VALUE(v) ({ typeof(v) __u = (v); __u; }) + #endif /* __LINUX_COMPILER_H */