drm/amdgpu: delete dead definitions of dpm_ip_funcs
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 28 Dec 2016 03:09:00 +0000 (11:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:56 +0000 (11:12 -0500)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c

index d8de7eb84f5284850bd60117a314e4117b8e3d38..ab7d2bb71dad706531ebad65de3ebe15a532e7ff 100644 (file)
@@ -6739,12 +6739,3 @@ static void ci_dpm_set_irq_funcs(struct amdgpu_device *adev)
        adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST;
        adev->pm.dpm.thermal.irq.funcs = &ci_dpm_irq_funcs;
 }
-
-const struct amdgpu_ip_block_version ci_dpm_ip_block =
-{
-       .type = AMD_IP_BLOCK_TYPE_SMC,
-       .major = 7,
-       .minor = 0,
-       .rev = 0,
-       .funcs = &ci_dpm_ip_funcs,
-};
index 91f885ba294635d9eadae3fd2ec7e11dd39f831a..90c2af381cbdb934ff94be43ab3dd2435de63c04 100644 (file)
@@ -3307,12 +3307,3 @@ static void kv_dpm_set_irq_funcs(struct amdgpu_device *adev)
        adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST;
        adev->pm.dpm.thermal.irq.funcs = &kv_dpm_irq_funcs;
 }
-
-const struct amdgpu_ip_block_version kv_dpm_ip_block =
-{
-       .type = AMD_IP_BLOCK_TYPE_SMC,
-       .major = 7,
-       .minor = 0,
-       .rev = 0,
-       .funcs = &kv_dpm_ip_funcs,
-};
index 738ebc1255692614469017e0880d09c2730f1ae3..4f12da1e7ebfab138d6da0a9dc74c1e0670de016 100644 (file)
@@ -8072,11 +8072,3 @@ static void si_dpm_set_irq_funcs(struct amdgpu_device *adev)
        adev->pm.dpm.thermal.irq.funcs = &si_dpm_irq_funcs;
 }
 
-const struct amdgpu_ip_block_version si_dpm_ip_block =
-{
-       .type = AMD_IP_BLOCK_TYPE_SMC,
-       .major = 6,
-       .minor = 0,
-       .rev = 0,
-       .funcs = &si_dpm_ip_funcs,
-};