Commit 3871fdfd authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Greg Kroah-Hartman

slimbus: ngd: remove redundant assignment

remove redundant assignment, as this is already done fewlines lines before.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200417093914.22052-1-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b58c6630
...@@ -1365,7 +1365,6 @@ static int of_qcom_slim_ngd_register(struct device *parent, ...@@ -1365,7 +1365,6 @@ static int of_qcom_slim_ngd_register(struct device *parent,
platform_device_add(ngd->pdev); platform_device_add(ngd->pdev);
ngd->base = ctrl->base + ngd->id * data->offset + ngd->base = ctrl->base + ngd->id * data->offset +
(ngd->id - 1) * data->size; (ngd->id - 1) * data->size;
ctrl->ngd = ngd;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment