[PATCH v2] rtems: Delete rtems_object_id_api_maximum_class()
Gedare Bloom
gedare at rtems.org
Wed Nov 25 17:32:22 UTC 2020
Analysis looks fine to me, Joel you alright with that?
I assume the doc patch will come with generation of the api?
On Tue, Nov 24, 2020 at 5:50 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201125/4452bdd7/attachment-0001.html>
More information about the devel
mailing list