summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cik.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-10-09 11:46:42 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-23 00:50:37 +0300
commit7fd12379bd1fb6544ea7e7a759f07384fbaf9ac7 (patch)
treed4e173723abea10c1fba06adba2b7ea1edf17acb /drivers/gpu/drm/amd/amdgpu/cik.c
parentdf6e463d8f020b17c2494b6cc85d218af466e9f9 (diff)
downloadlinux-7fd12379bd1fb6544ea7e7a759f07384fbaf9ac7.tar.xz
drm/amdgpu: clean the dummy sw_init functions
Remove the dummy sw_init functions for all IP blocks. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c
index 6c18ab35cf69..a374d1bb24ab 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik.c
@@ -2124,11 +2124,6 @@ static int cik_common_early_init(struct amdgpu_ip_block *ip_block)
return 0;
}
-static int cik_common_sw_init(struct amdgpu_ip_block *ip_block)
-{
- return 0;
-}
-
static int cik_common_sw_fini(struct amdgpu_ip_block *ip_block)
{
return 0;
@@ -2195,7 +2190,6 @@ static const struct amd_ip_funcs cik_common_ip_funcs = {
.name = "cik_common",
.early_init = cik_common_early_init,
.late_init = NULL,
- .sw_init = cik_common_sw_init,
.sw_fini = cik_common_sw_fini,
.hw_init = cik_common_hw_init,
.hw_fini = cik_common_hw_fini,