[PATCH 8/8] drm/amdgpu/display: remove unused variable in dcn31_hpo_dp_stream_enc_mute_control

Harry Wentland harry.wentland at amd.com
Tue Aug 24 17:17:46 UTC 2021


Patches 1, 3, 5-8 are
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

For some reason I didn't seem to get patches 2 and 4.

Harry

On 2021-08-24 12:51 p.m., Alex Deucher wrote:
> 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);
>  }
> 



More information about the amd-gfx mailing list