fix: Remove redundant invalid codes
close: #I3R70T Change-Id: Idec4ba2f692cf357368c2fa437dddeba945f2e07
This commit is contained in:
parent
842399a4af
commit
fe05df40ae
8
Kconfig
8
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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue