OSDN Git Service

remoteproc: remove useless typedef
authorClement Leger <cleger@kalray.eu>
Fri, 4 Oct 2019 17:44:24 +0000 (19:44 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 5 Oct 2019 04:03:49 +0000 (21:03 -0700)
rproc_handle_resources_t is not used anymore, remove it.

Signed-off-by: Clement Leger <cleger@kalray.eu>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c

index 3c5fbbb..8cdbb0a 100644 (file)
@@ -44,8 +44,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);