]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: omapdrm: gem: Simplify error handling when creating GEM object
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Dec 2015 20:39:41 +0000 (22:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:46 +0000 (11:25 +0200)
commit92b4b44538a034495fc598f61cc95f4e647adbd1
treeefd2789c6fbd853c6258e4b545461172466ac10a
parent08b710f85cb835114257fe60c9f0ca5610c8ac29
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_gem.c