2019-10-04 17:45:44

by Clément Leger

[permalink] [raw]
Subject: [PATCH] remoteproc: remove useless typedef

rproc_handle_resources_t is not used anymore, remove it.

Signed-off-by: Clement Leger <[email protected]>
---
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


2019-10-05 04:08:10

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] remoteproc: remove useless typedef

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 <[email protected]>

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
>