forked from Minki/linux
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:
parent
b58c663059
commit
3871fdfd19
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user