drm/amdgpu/display/dcn2.1: drop unused function
Subsystems (3)
PATCH 1/1 drm/amdgpu/display/dcn2.1: drop unused function
It's the same as the dcn2.0 function which it already uses.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c +0 -8
@@ -1352,14 +1352,6 @@ static struct pp_smu_funcs *dcn21_pp_smu_create(struct dc_context *ctx)return pp_smu; } -static void dcn21_pp_smu_destroy (struct pp_smu_funcs **pp_smu) -{ -if (pp_smu && *pp_smu) { -kfree (*pp_smu); - *pp_smu =NULL ; - } -} -static struct audio *dcn21_create_audio (struct dc_context *ctx,unsigned int inst) {
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx