[PATCH v2] rtems: Delete rtems_object_id_api_maximum_class()

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 24 12:50:01 UTC 2020


This directive has no implementation.  It is documented in the RTEMS
Classic API Guide.

It was added by

commit 6c06288f6452da96fa630f1482aeaaba5d217531
Author: Joel Sherrill <joel.sherrill at OARcorp.com>
Date:   Tue Jan 29 21:52:21 2008 +0000

without an implementation.  The later change

commit fdc57ca4b6794dc17c7b7d94ae557da21e314d6a
Author: Joel Sherrill <joel.sherrill at OARcorp.com>
Date:   Mon Nov 23 14:53:04 2009 +0000

renamed the similar rtems_object_id_api_maximum_class() in
rtems_object_api_minimum_class().

The rtems_object_api_maximum_class() is documented and implemented.  It
can be assumed that the rtems_object_id_api_maximum_class() is a
fragement left over from development.
---
 cpukit/include/rtems/rtems/object.h | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/cpukit/include/rtems/rtems/object.h b/cpukit/include/rtems/rtems/object.h
index 8e8bfbf293..77c13f473f 100644
--- a/cpukit/include/rtems/rtems/object.h
+++ b/cpukit/include/rtems/rtems/object.h
@@ -285,23 +285,6 @@ int rtems_object_api_maximum_class(
   int api
 );
 
-
-/**
- * @brief Get Highest Valid Class Value
- *
- * This method returns the lowest valid value Class for the
- * specified @a api. Each API supports a different number
- * of object classes.
- *
- * @param[in] api is the API to obtain the maximum class of
- *
- * @retval This method returns the least valid value for
- *         class number for the specified @a api.
- */
-int rtems_object_id_api_maximum_class(
-  int api
-);
-
 /**
  * @brief Get API Name
  *
-- 
2.26.2



More information about the devel mailing list