Skip to contentSkip to conversation

remoteproc: remove useless typedef

PATCH Applied Clement Leger 2 participants 2 messages Oct 4, 2019 – Oct 5, 2019 Remote processor (remoteproc)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remoteproc: remove useless typedef

rproc_handle_resources_t is not used anymore, remove it.

---
 drivers/remoteproc/remoteproc_core.c | 2 --
 1 file changed, 2 deletions(-)
drivers/remoteproc/remoteproc_core.c +0 -2
index 48feebd6d0a2..78e00194e72f 100644
@@ -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);
 
Signature · 1 line
2.15.0.276.g89ea799
#1 lore raw
Quoted 3 lines · Clement Leger

rproc_handle_resources_t is not used anymore, remove it.

Applied

Thanks,
Bjorn

Quoted 20 lines
---
 drivers/remoteproc/remoteproc_core.c | 2 --
 1 file changed, 2 deletions(-)
drivers/remoteproc/remoteproc_core.c +0 -2
index 48feebd6d0a2..78e00194e72f 100644
@@ -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);
 
Signature · 1 line
2.15.0.276.g89ea799