Re: [PATCH] remoteproc: remove useless typedef

From: Bjorn Andersson
Date: Sat Oct 05 2019 - 00:04:23 EST


On Fri 04 Oct 10:44 PDT 2019, Clement Leger wrote:

> rproc_handle_resources_t is not used anymore, remove it.
>
> Signed-off-by: Clement Leger <cleger@xxxxxxxxx>

Applied

Thanks,
Bjorn

> ---
> drivers/remoteproc/remoteproc_core.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
> index 48feebd6d0a2..78e00194e72f 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -52,8 +52,6 @@
> static DEFINE_MUTEX(rproc_list_mutex);
> static LIST_HEAD(rproc_list);
>
> -typedef int (*rproc_handle_resources_t)(struct rproc *rproc,
> - struct resource_table *table, int len);
> typedef int (*rproc_handle_resource_t)(struct rproc *rproc,
> void *, int offset, int avail);
>
> --
> 2.15.0.276.g89ea799
>