[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200417093914.22052-1-srinivas.kandagatla@linaro.org>
Date: Fri, 17 Apr 2020 10:39:14 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: srini@...nel.org, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH] slimbus: ngd: remove redundant assignment
remove redundant assignment, as this is already done fewlines lines before.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
---
drivers/slimbus/qcom-ngd-ctrl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c
index 7426b5884218..743ee7b4e63f 100644
--- a/drivers/slimbus/qcom-ngd-ctrl.c
+++ b/drivers/slimbus/qcom-ngd-ctrl.c
@@ -1365,7 +1365,6 @@ static int of_qcom_slim_ngd_register(struct device *parent,
platform_device_add(ngd->pdev);
ngd->base = ctrl->base + ngd->id * data->offset +
(ngd->id - 1) * data->size;
- ctrl->ngd = ngd;
return 0;
}
--
2.21.0
Powered by blists - more mailing lists