drm/amd/pm: fix unchecked return value warning for vega10_hwmgr

This resolves the unchecked return value warning reported by Coverity.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Tim Huang 2024-08-01 11:12:24 +08:00 committed by Alex Deucher
parent 86598c3819
commit 57b09a168f

View File

@ -2934,9 +2934,7 @@ static int vega10_stop_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap)
}
}
vega10_enable_smc_features(hwmgr, false, feature_mask);
return 0;
return vega10_enable_smc_features(hwmgr, false, feature_mask);
}
/**