Skip to contentSkip to conversation

drm/amdgpu/display/dcn2.1: drop unused function

PATCH New Alex Deucher 1 participant 1 message Oct 8, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/display/dcn2.1: drop unused function

It's the same as the dcn2.0 function which it already uses.

---
 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
index d2fc61490052..9a6701698faa 100644
@@ -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