Re: [PATCH] drm: Fix checkpatch issue: "WARNING: braces {} are not necessary for single statement blocks."

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

 



Hi Vitor,

Thanks for the patch!

Acked-by: Liviu Dudau <liviu.dudau@xxxxxxx>

I will pull the patch and send it to David Airlie in this weeks' pull
request.

Best regards,
Liviu

On Mon, Oct 30, 2017 at 11:36:54AM -0200, Vitor Massaru Iha wrote:
> Signed-off-by: Vitor Massaru Iha <vitor@xxxxxxxxxxx>
> ---
>  drivers/gpu/drm/arm/hdlcd_crtc.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c
> index 72b22b805412..5a5427bbd70e 100644
> --- a/drivers/gpu/drm/arm/hdlcd_crtc.c
> +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c
> @@ -317,9 +317,8 @@ static struct drm_plane *hdlcd_plane_init(struct drm_device *drm)
>  				       formats, ARRAY_SIZE(formats),
>  				       NULL,
>  				       DRM_PLANE_TYPE_PRIMARY, NULL);
> -	if (ret) {
> +	if (ret)
>  		return ERR_PTR(ret);
> -	}
>  
>  	drm_plane_helper_add(plane, &hdlcd_plane_helper_funcs);
>  	hdlcd->plane = plane;
> -- 
> 2.13.6
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux