From 6f01a3b3d4fed839dca2bbf5fa38cd45856c2080 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 20 Oct 2022 21:35:12 +0800 Subject: [PATCH] testing/ostest: Remove the code which reference CONFIG_SEM_NNESTPRIO since CONFIG_SEM_NNESTPRIO is removed by: https://github.com/apache/incubator-nuttx/pull/6318 Signed-off-by: Xiang Xiao --- testing/ostest/prioinherit.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/testing/ostest/prioinherit.c b/testing/ostest/prioinherit.c index af04224a6..78555beb0 100644 --- a/testing/ostest/prioinherit.c +++ b/testing/ostest/prioinherit.c @@ -57,19 +57,7 @@ # define NLOWPRI_THREADS 1 #endif -#ifndef CONFIG_SEM_NNESTPRIO -# define CONFIG_SEM_NNESTPRIO 0 -#endif - -/* Where resources configured for lots of waiters? If so then run 3 high - * priority threads. Otherwise, just one. - */ - -#if CONFIG_SEM_NNESTPRIO > 3 -# define NHIGHPRI_THREADS 3 -#else -# define NHIGHPRI_THREADS 1 -#endif +#define NHIGHPRI_THREADS 1 #define NUMBER_OF_COMPETING_THREADS 3 #define COMPETING_THREAD_START_PRIORITY 200