drm/amd/powerplay: Remove multiple occurrence of asic_setup
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: Remove multiple occurrence of asic_setup
fix below issue reported by coccicheck drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c:1306:52-53:asic_setup: first occurrence line 1309, second occurrence line 1337
Signed-off-by Hariprasad Kelam <[email protected]>
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +0 -1
@@ -1306,7 +1306,6 @@ static int smu10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uinstatic const struct pp_hwmgr_func smu10_hwmgr_funcs = { .backend_init = smu10_hwmgr_backend_init, .backend_fini = smu10_hwmgr_backend_fini, - .asic_setup =NULL , .apply_state_adjust_rules = smu10_apply_state_adjust_rules, .force_dpm_level = smu10_dpm_force_dpm_level, .get_power_state_size = smu10_get_power_state_size,
Signature · 1 line
2.7.4