提交 e1d427f8 编写于 作者: O openharmony_ci 提交者: Gitee

!245 删除无效代码

Merge pull request !245 from Zhaotianyu/0517
...@@ -228,14 +228,6 @@ config NET_LWIP_SACK_TFTP ...@@ -228,14 +228,6 @@ config NET_LWIP_SACK_TFTP
help help
Answer Y to enable LiteOS support tftp cmd and tftp tool. Answer Y to enable LiteOS support tftp cmd and tftp tool.
source "../../kernel/liteos_a/net/telnet/Kconfig" 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 config SCHED_DEBUG
bool "Enable sched debug Feature" bool "Enable sched debug Feature"
default n default n
......
...@@ -428,7 +428,6 @@ int clock_settime(clockid_t clockID, const struct timespec *tp) ...@@ -428,7 +428,6 @@ int clock_settime(clockid_t clockID, const struct timespec *tp)
case CLOCK_BOOTTIME: case CLOCK_BOOTTIME:
case CLOCK_REALTIME_ALARM: case CLOCK_REALTIME_ALARM:
case CLOCK_BOOTTIME_ALARM: case CLOCK_BOOTTIME_ALARM:
case CLOCK_SGI_CYCLE:
case CLOCK_TAI: case CLOCK_TAI:
case CLOCK_THREAD_CPUTIME_ID: case CLOCK_THREAD_CPUTIME_ID:
TIME_RETURN(ENOTSUP); TIME_RETURN(ENOTSUP);
...@@ -564,7 +563,6 @@ int clock_gettime(clockid_t clockID, struct timespec *tp) ...@@ -564,7 +563,6 @@ int clock_gettime(clockid_t clockID, struct timespec *tp)
case CLOCK_BOOTTIME: case CLOCK_BOOTTIME:
case CLOCK_REALTIME_ALARM: case CLOCK_REALTIME_ALARM:
case CLOCK_BOOTTIME_ALARM: case CLOCK_BOOTTIME_ALARM:
case CLOCK_SGI_CYCLE:
case CLOCK_TAI: case CLOCK_TAI:
TIME_RETURN(ENOTSUP); TIME_RETURN(ENOTSUP);
default: default:
...@@ -647,7 +645,6 @@ int clock_getres(clockid_t clockID, struct timespec *tp) ...@@ -647,7 +645,6 @@ int clock_getres(clockid_t clockID, struct timespec *tp)
case CLOCK_BOOTTIME: case CLOCK_BOOTTIME:
case CLOCK_REALTIME_ALARM: case CLOCK_REALTIME_ALARM:
case CLOCK_BOOTTIME_ALARM: case CLOCK_BOOTTIME_ALARM:
case CLOCK_SGI_CYCLE:
case CLOCK_TAI: case CLOCK_TAI:
TIME_RETURN(ENOTSUP); TIME_RETURN(ENOTSUP);
default: default:
...@@ -681,7 +678,6 @@ int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct ...@@ -681,7 +678,6 @@ int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct
case CLOCK_BOOTTIME: case CLOCK_BOOTTIME:
case CLOCK_REALTIME_ALARM: case CLOCK_REALTIME_ALARM:
case CLOCK_BOOTTIME_ALARM: case CLOCK_BOOTTIME_ALARM:
case CLOCK_SGI_CYCLE:
case CLOCK_TAI: case CLOCK_TAI:
if (flags == 0 || flags == TIMER_ABSTIME) { if (flags == 0 || flags == TIMER_ABSTIME) {
TIME_RETURN(ENOTSUP); TIME_RETURN(ENOTSUP);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册