From fe05df40ae710632adb1bd54fb04ad4a8e0c1429 Mon Sep 17 00:00:00 2001 From: arvinzzz Date: Mon, 17 May 2021 14:34:09 +0800 Subject: [PATCH] fix: Remove redundant invalid codes close: #I3R70T Change-Id: Idec4ba2f692cf357368c2fa437dddeba945f2e07 --- Kconfig | 8 -------- compat/posix/src/time.c | 4 ---- 2 files changed, 12 deletions(-) diff --git a/Kconfig b/Kconfig index 88fc3389..6c756199 100644 --- a/Kconfig +++ b/Kconfig @@ -228,14 +228,6 @@ config NET_LWIP_SACK_TFTP help Answer Y to enable LiteOS support tftp cmd and tftp tool. source "../../kernel/liteos_a/net/telnet/Kconfig" -config EXC_INTERACTION - bool "Enable exc interaction" - default n - depends on SHELL - help - Answer Y to enable exception interaction for LiteOS, when the system enter exception, user can also interact with system by shell - command like readreg, writereg,task,hwi. - config SCHED_DEBUG bool "Enable sched debug Feature" default n diff --git a/compat/posix/src/time.c b/compat/posix/src/time.c index 97a82ae0..36566044 100644 --- a/compat/posix/src/time.c +++ b/compat/posix/src/time.c @@ -426,7 +426,6 @@ int clock_settime(clockid_t clockID, const struct timespec *tp) case CLOCK_BOOTTIME: case CLOCK_REALTIME_ALARM: case CLOCK_BOOTTIME_ALARM: - case CLOCK_SGI_CYCLE: case CLOCK_TAI: case CLOCK_THREAD_CPUTIME_ID: TIME_RETURN(ENOTSUP); @@ -493,7 +492,6 @@ int clock_gettime(clockid_t clockID, struct timespec *tp) case CLOCK_BOOTTIME: case CLOCK_REALTIME_ALARM: case CLOCK_BOOTTIME_ALARM: - case CLOCK_SGI_CYCLE: case CLOCK_TAI: TIME_RETURN(ENOTSUP); default: @@ -532,7 +530,6 @@ int clock_getres(clockid_t clockID, struct timespec *tp) case CLOCK_BOOTTIME: case CLOCK_REALTIME_ALARM: case CLOCK_BOOTTIME_ALARM: - case CLOCK_SGI_CYCLE: case CLOCK_TAI: TIME_RETURN(ENOTSUP); default: @@ -559,7 +556,6 @@ int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct case CLOCK_BOOTTIME: case CLOCK_REALTIME_ALARM: case CLOCK_BOOTTIME_ALARM: - case CLOCK_SGI_CYCLE: case CLOCK_TAI: if (flags == 0 || flags == TIMER_ABSTIME) { TIME_RETURN(ENOTSUP); -- GitLab