commit | 92b4b44538a034495fc598f61cc95f4e647adbd1 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Mon Dec 14 22:39:41 2015 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Dec 31 11:25:46 2015 +0200 |
tree | efd2789c6fbd853c6258e4b545461172466ac10a | |
parent | 08b710f85cb835114257fe60c9f0ca5610c8ac29 [diff] |
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>