firmware: qcom: scm: Remove reassignment to desc following initializer
stable inclusion from stable-v5.10.110 commit 22474dfd0c17772415b1f023f1a139b1797a0dfe bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=22474dfd0c17772415b1f023f1a139b1797a0dfe -------------------------------- [ Upstream commit 7823e5aa ] Member assignments to qcom_scm_desc were moved into struct initializers in 57d3b816 ("firmware: qcom_scm: Remove thin wrappers") including the case in qcom_scm_iommu_secure_ptbl_init, except that the - now duplicate - assignment to desc was left in place. While not harmful, remove this unnecessary extra reassignment. Fixes: 57d3b816 ("firmware: qcom_scm: Remove thin wrappers") Signed-off-by: NMarijn Suijten <marijn.suijten@somainline.org> Reviewed-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Reviewed-by: NAlex Elder <elder@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211208083423.22037-2-marijn.suijten@somainline.orgSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYu Liao <liaoyu15@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录