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>
This commit is contained in:
Srinivas Kandagatla 2020-04-17 10:39:14 +01:00 committed by Greg Kroah-Hartman
parent b58c663059
commit 3871fdfd19

View File

@ -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;
}