From: Sunil Khatri Date: Mon, 30 Sep 2024 08:20:15 +0000 (+0530) Subject: drm/amdgpu: remove the dummy fn acp_early_init X-Git-Tag: v6.13-rc1~122^2~15^2~180 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=904c402e971af450789be8f59e4d8ef52fc69cde;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: remove the dummy fn acp_early_init acp_early_init is a dummy function and is not being used and hence removed. Signed-off-by: Sunil Khatri Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c index 08f5a86143567..8c85d7a9e0b0b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c @@ -585,11 +585,6 @@ static int acp_resume(void *handle) return 0; } -static int acp_early_init(struct amdgpu_ip_block *ip_block) -{ - return 0; -} - static bool acp_is_idle(void *handle) { return true; @@ -624,7 +619,7 @@ static int acp_set_powergating_state(void *handle, static const struct amd_ip_funcs acp_ip_funcs = { .name = "acp_ip", - .early_init = acp_early_init, + .early_init = NULL, .late_init = NULL, .sw_init = acp_sw_init, .sw_fini = acp_sw_fini,