[PATCH 8/8] drm/amdgpu/display: remove unused variable in dcn31_hpo_dp_stream_enc_mute_control
Alex Deucher
alexander.deucher at amd.com
Tue Aug 24 16:51:05 UTC 2021
Trivial.
Fixes: c0c9c87bcc5f ("drm/amd/display: Add DP 2.0 HPO Stream Encoder")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
.../gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c
index bc265ee06824..25e4794eb9ad 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c
@@ -603,8 +603,6 @@ static void dcn31_hpo_dp_stream_enc_mute_control(
struct hpo_dp_stream_encoder *enc,
bool mute)
{
- struct dcn31_hpo_dp_stream_encoder *enc3 = DCN3_1_HPO_DP_STREAM_ENC_FROM_HPO_STREAM_ENC(enc);
-
ASSERT(enc->apg);
enc->apg->funcs->audio_mute_control(enc->apg, mute);
}
--
2.31.1
More information about the amd-gfx
mailing list