From 8b77801b1c11628c3a1b65fdc281ad60b3da019d Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 25 Feb 2022 03:50:06 +0800 Subject: [PATCH] arch/xtensa: Remove the unused SYS_pthread_exit Signed-off-by: Xiang Xiao --- arch/xtensa/include/syscall.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/xtensa/include/syscall.h b/arch/xtensa/include/syscall.h index 57e23b45e8..27150c900b 100644 --- a/arch/xtensa/include/syscall.h +++ b/arch/xtensa/include/syscall.h @@ -65,7 +65,7 @@ # ifdef CONFIG_BUILD_PROTECTED # ifndef CONFIG_SYS_RESERVED # error "CONFIG_SYS_RESERVED must be defined to have the value 9" -# elif CONFIG_SYS_RESERVED != 9 +# elif CONFIG_SYS_RESERVED != 8 # error "CONFIG_SYS_RESERVED must have the value 9" # endif # else @@ -146,13 +146,6 @@ #define SYS_pthread_start (5) -/* SYS call 8: - * - * void up_pthread_exit(pthread_exitroutine_t exit, void *exit_value) - */ - -#define SYS_pthread_exit (8) - #endif /* !CONFIG_BUILD_FLAT */ #endif /* CONFIG_LIB_SYSCALL */