[PATCH] rtems: Delete rtems_object_id_api_maximum_class()

Joel Sherrill joel at rtems.org
Fri Nov 20 17:56:02 UTC 2020


It should be implemented. File a ticket if you don't want to do it now.

But don't delete it. It should be there for completeness. I would have
thought there was code that iterated over all the APIs and classes and used
it. What is being used instead?

On Fri, Nov 20, 2020 at 11:47 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> This function has no implementation.  It is documented in the RTEMS
> Classic API Guide.
> ---
>  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/20201120/80cdbdc2/attachment.html>


More information about the devel mailing list