mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 22:50:54 -04:00
drm/amd/powerplay: delete some dead code
We deleted some code in e154162ef7 ("drm/amd/powerplay: refine pp code
for raven") but there were a few related bits that were missed. Let's
delete them as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
fda519fb5d
commit
858bef6e89
@@ -1696,9 +1696,6 @@ static int pp_tables_uninitialize(struct pp_hwmgr *hwmgr)
|
||||
kfree(hwmgr->dyn_state.vdd_gfx_dependency_on_sclk);
|
||||
hwmgr->dyn_state.vdd_gfx_dependency_on_sclk = NULL;
|
||||
|
||||
kfree(hwmgr->dyn_state.vq_budgeting_table);
|
||||
hwmgr->dyn_state.vq_budgeting_table = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -616,7 +616,6 @@ struct phm_dynamic_state_info {
|
||||
struct phm_ppm_table *ppm_parameter_table;
|
||||
struct phm_cac_tdp_table *cac_dtp_table;
|
||||
struct phm_clock_voltage_dependency_table *vdd_gfx_dependency_on_sclk;
|
||||
struct phm_vq_budgeting_table *vq_budgeting_table;
|
||||
};
|
||||
|
||||
struct pp_fan_info {
|
||||
|
||||
Reference in New Issue
Block a user