diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-12-14 23:39:41 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-31 12:25:46 +0300 |
commit | 92b4b44538a034495fc598f61cc95f4e647adbd1 (patch) | |
tree | efd2789c6fbd853c6258e4b545461172466ac10a /drivers/gpu/drm/omapdrm/tcm.h | |
parent | 08b710f85cb835114257fe60c9f0ca5610c8ac29 (diff) | |
download | linux-92b4b44538a034495fc598f61cc95f4e647adbd1.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/tcm.h')
0 files changed, 0 insertions, 0 deletions