summaryrefslogtreecommitdiff
path: root/drivers/slimbus
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2020-04-17 10:39:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-28 15:02:47 +0200
commit3871fdfd19019e7d7bb99f9913f9298b9ceced72 (patch)
tree8536564cc69f29c06f73bd55f0374e69e880231a /drivers/slimbus
parentb58c663059b484f7ff547d076a34cf6d7a302e56 (diff)
downloadlinux-starfive-3871fdfd19019e7d7bb99f9913f9298b9ceced72.tar.gz
linux-starfive-3871fdfd19019e7d7bb99f9913f9298b9ceced72.tar.bz2
linux-starfive-3871fdfd19019e7d7bb99f9913f9298b9ceced72.zip
slimbus: ngd: remove redundant assignment
remove redundant assignment, as this is already done fewlines lines before. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200417093914.22052-1-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus')
-rw-r--r--drivers/slimbus/qcom-ngd-ctrl.c1
1 files changed, 0 insertions, 1 deletions
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;
}