@@ -328,8 +328,6 @@ bool radeon_atom_is_voltage_gpio(struct radeon_device *rdev,
int radeon_atom_get_svi2_info(struct radeon_device *rdev,
u8 voltage_type,
u8 *svd_gpio_id, u8 *svc_gpio_id);
-void radeon_atom_update_memory_dll(struct radeon_device *rdev,
- u32 mem_clock);
void radeon_atom_set_ac_timing(struct radeon_device *rdev,
u32 mem_clock);
int radeon_atom_init_mc_reg_table(struct radeon_device *rdev,
@@ -3027,17 +3027,6 @@ void radeon_atom_set_engine_dram_timings(struct radeon_device *rdev,
atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
}
-void radeon_atom_update_memory_dll(struct radeon_device *rdev,
- u32 mem_clock)
-{
- u32 args;
- int index = GetIndexIntoMasterTable(COMMAND, DynamicMemorySettings);
-
- args = cpu_to_le32(mem_clock); /* 10 khz */
-
- atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
-}
-
void radeon_atom_set_ac_timing(struct radeon_device *rdev,
u32 mem_clock)
{
Remove the function radeon_atom_update_memory_dll() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> --- drivers/gpu/drm/radeon/radeon.h | 2 -- drivers/gpu/drm/radeon/radeon_atombios.c | 11 ----------- 2 files changed, 13 deletions(-)