[PATCH] drm/amd/powerplay: fix coccinelle warnings in vega10_hwmgr.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Rex Zhu
> Sent: Monday, August 07, 2017 3:37 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH] drm/amd/powerplay: fix coccinelle warnings in
> vega10_hwmgr.c
> 
> delete unneeded semicolon.
> 
> Change-Id: If869857cac8127db91a3738f3ad2718343a49dd7
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> index c3b800b..b0e6e12 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> @@ -2312,7 +2312,7 @@ static int vega10_acg_enable(struct pp_hwmgr
> *hwmgr)
>  		smum_send_msg_to_smc(hwmgr->smumgr,
> PPSMC_MSG_InitializeAcg);
> 
>  		smum_send_msg_to_smc(hwmgr->smumgr,
> PPSMC_MSG_RunAcgBtc);
> -		vega10_read_arg_from_smc(hwmgr->smumgr,
> &agc_btc_response);;
> +		vega10_read_arg_from_smc(hwmgr->smumgr,
> &agc_btc_response);
> 
>  		if (1 == agc_btc_response) {
>  			if (1 == data->acg_loop_state)
> --
> 1.9.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux