drm: omapdrm: gem: Simplify error handling when creating GEM object
The goto error statement end up just returning NULL without performing any cleanup, replace it with a direct return. Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Showing
想要评论请 注册 或 登录