This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 3904fd775a sched: Remove the unused TCB_FLAG_SCHED_OTHER 3904fd775a is described below commit 3904fd775a719334aac101082886e9e36597b024 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Mon Jan 30 23:19:08 2023 +0800 sched: Remove the unused TCB_FLAG_SCHED_OTHER after https://github.com/apache/nuttx/pull/8330 Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- fs/procfs/fs_procfsproc.c | 5 ++--- include/nuttx/sched.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/procfs/fs_procfsproc.c b/fs/procfs/fs_procfsproc.c index 14f005e1bb..16c4ccceb9 100644 --- a/fs/procfs/fs_procfsproc.c +++ b/fs/procfs/fs_procfsproc.c @@ -153,7 +153,7 @@ struct proc_envinfo_s static FAR const char *g_policy[4] = { - "SCHED_FIFO", "SCHED_RR", "SCHED_SPORADIC", "SCHED_OTHER" + "SCHED_FIFO", "SCHED_RR", "SCHED_SPORADIC" }; /**************************************************************************** @@ -483,8 +483,7 @@ static FAR const struct proc_node_s *proc_findnode(FAR const char *relpath) * MQ full} * Flags: xxx N,P,X * Priority: nnn Decimal, 0-255 - * Scheduler: xxxxxxxxxxxxxx {SCHED_FIFO, SCHED_RR, SCHED_SPORADIC, - * SCHED_OTHER} + * Scheduler: xxxxxxxxxxxxxx {SCHED_FIFO, SCHED_RR, SCHED_SPORADIC} * Sigmask: nnnnnnnn Hexadecimal, 32-bit * ****************************************************************************/ diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index afc3bbdc3a..05e2fc26e6 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -95,7 +95,6 @@ # define TCB_FLAG_SCHED_FIFO (0 << TCB_FLAG_POLICY_SHIFT) /* FIFO scheding policy */ # define TCB_FLAG_SCHED_RR (1 << TCB_FLAG_POLICY_SHIFT) /* Round robin scheding policy */ # define TCB_FLAG_SCHED_SPORADIC (2 << TCB_FLAG_POLICY_SHIFT) /* Sporadic scheding policy */ -# define TCB_FLAG_SCHED_OTHER (3 << TCB_FLAG_POLICY_SHIFT) /* Other scheding policy */ #define TCB_FLAG_CPU_LOCKED (1 << 8) /* Bit 7: Locked to this CPU */ #define TCB_FLAG_SIGNAL_ACTION (1 << 9) /* Bit 8: In a signal handler */ #define TCB_FLAG_SYSCALL (1 << 10) /* Bit 9: In a system call */