diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2020-04-17 12:39:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 16:02:47 +0300 |
commit | 3871fdfd19019e7d7bb99f9913f9298b9ceced72 (patch) | |
tree | 8536564cc69f29c06f73bd55f0374e69e880231a /drivers | |
parent | b58c663059b484f7ff547d076a34cf6d7a302e56 (diff) | |
download | linux-3871fdfd19019e7d7bb99f9913f9298b9ceced72.tar.xz |
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')
-rw-r--r-- | drivers/slimbus/qcom-ngd-ctrl.c | 1 |
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; } |