[PATCH] posix: Remove unused OBJECTS_POSIX_INTERRUPTS

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 17 07:21:21 UTC 2019


---
 cpukit/include/rtems/score/objectdata.h       | 1 -
 cpukit/rtems/src/rtemsobjectgetapiclassname.c | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/cpukit/include/rtems/score/objectdata.h b/cpukit/include/rtems/score/objectdata.h
index f6ece16c0e..ce6e3c63a4 100644
--- a/cpukit/include/rtems/score/objectdata.h
+++ b/cpukit/include/rtems/score/objectdata.h
@@ -80,7 +80,6 @@ typedef enum {
   OBJECTS_POSIX_NO_CLASS            = 0,
   OBJECTS_POSIX_THREADS             = 1,
   OBJECTS_POSIX_KEYS                = 2,
-  OBJECTS_POSIX_INTERRUPTS          = 3,
   OBJECTS_POSIX_MESSAGE_QUEUES      = 5,
   OBJECTS_POSIX_SEMAPHORES          = 7,
   OBJECTS_POSIX_TIMERS              = 9,
diff --git a/cpukit/rtems/src/rtemsobjectgetapiclassname.c b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
index a00b06b990..1f2952765d 100644
--- a/cpukit/rtems/src/rtemsobjectgetapiclassname.c
+++ b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
@@ -45,9 +45,6 @@ static const rtems_assoc_t rtems_object_api_classic_assoc[] = {
 static const rtems_assoc_t rtems_object_api_posix_assoc[] = {
   { "Thread",                  OBJECTS_POSIX_THREADS, 0},
   { "Key",                     OBJECTS_POSIX_KEYS, 0},
-#ifdef RTEMS_POSIX_API
-  { "Interrupt",               OBJECTS_POSIX_INTERRUPTS, 0},
-#endif
   { "Message Queue",           OBJECTS_POSIX_MESSAGE_QUEUES, 0},
   { "Semaphore",               OBJECTS_POSIX_SEMAPHORES, 0},
 #ifdef RTEMS_POSIX_API
-- 
2.16.4



More information about the devel mailing list