dtb_mem_region is no longer referenced after the ioremap was moved
to respective places where mapping is required. Remove it from
struct qcom_pas.

Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Mukesh Ojha <[email protected]>
---
 drivers/remoteproc/qcom_q6v5_pas.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/remoteproc/qcom_q6v5_pas.c 
b/drivers/remoteproc/qcom_q6v5_pas.c
index 5cd34086ccac..0391e30f42ba 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -101,8 +101,9 @@ struct qcom_pas {
        phys_addr_t mem_reloc;
        phys_addr_t dtb_mem_reloc;
        phys_addr_t region_assign_phys[MAX_ASSIGN_COUNT];
+
        void __iomem *mem_region;
-       void __iomem *dtb_mem_region;
+
        size_t mem_size;
        size_t dtb_mem_size;
        size_t region_assign_size[MAX_ASSIGN_COUNT];
-- 
2.53.0


Reply via email to