[rtems commit] rtems: Delete rtems_object_id_api_maximum_class()

Sebastian Huber sebh at rtems.org
Fri Nov 27 07:46:46 UTC 2020


Module:    rtems
Branch:    master
Commit:    2406fe894e5537a5712d686028bdb2fbbcc650c8
Changeset: http://git.rtems.org/rtems/commit/?id=2406fe894e5537a5712d686028bdb2fbbcc650c8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 20 18:46:04 2020 +0100

rtems: Delete rtems_object_id_api_maximum_class()

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_minimum_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 8e8bfbf..77c13f4 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
  *



More information about the vc mailing list