Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa56b3f8 authored by Vitor Massaru Iha's avatar Vitor Massaru Iha Committed by Liviu Dudau
Browse files

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

parent febae9bc
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -317,9 +317,8 @@ static struct drm_plane *hdlcd_plane_init(struct drm_device *drm)
				       formats, ARRAY_SIZE(formats),
				       formats, ARRAY_SIZE(formats),
				       NULL,
				       NULL,
				       DRM_PLANE_TYPE_PRIMARY, NULL);
				       DRM_PLANE_TYPE_PRIMARY, NULL);
	if (ret) {
	if (ret)
		return ERR_PTR(ret);
		return ERR_PTR(ret);
	}


	drm_plane_helper_add(plane, &hdlcd_plane_helper_funcs);
	drm_plane_helper_add(plane, &hdlcd_plane_helper_funcs);
	hdlcd->plane = plane;
	hdlcd->plane = plane;