diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c b/drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c index 864de14a33..0839efd047 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c @@ -1531,8 +1531,6 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, if (vote == CLK_ON) { #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) pm_runtime_get_sync(ipa_mpm_ctx->mhi_parent_dev); - result = mhi_device_get_sync( - ipa_mpm_ctx->md[probe_id].mhi_dev); #else result = mhi_device_get_sync( ipa_mpm_ctx->md[probe_id].mhi_dev, @@ -1559,7 +1557,6 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, return 0; } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) - mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev); pm_runtime_put(ipa_mpm_ctx->mhi_parent_dev); #else mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev,