s390/syscalls: remove __SC_COMPAT_TYPE define
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 23 Jan 2023 13:30:43 +0000 (14:30 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 25 Jan 2023 19:51:11 +0000 (20:51 +0100)
Remove __SC_COMPAT_TYPE define which is an unused leftover.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/syscall_wrapper.h

index 762438c..de719f1 100644 (file)
@@ -35,8 +35,6 @@
 #define SYSCALL_PT_ARGS(x, ...) SYSCALL_PT_ARG##x(__VA_ARGS__)
 
 #ifdef CONFIG_COMPAT
-#define __SC_COMPAT_TYPE(t, a) \
-       __typeof(__builtin_choose_expr(sizeof(t) > 4, 0L, (t)0)) a
 
 #define __SC_COMPAT_CAST(t, a)                                         \
 ({                                                                     \