drm: Remove opencoded drm_gem_object_release_handle()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jan 2016 09:42:31 +0000 (09:42 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Jan 2016 15:23:09 +0000 (16:23 +0100)
commit8815b23aa0933653812e9c13c506f6f60fac474e
tree173438d43f50f9dcfc99244a77485b836e233d35
parent9649399e918f61788a6302a0f7d3c5ed34c2930c
drm: Remove opencoded drm_gem_object_release_handle()

drm_gem_handle_delete() contains its own version of
drm_gem_object_release_handle(), so lets just call the release method
instead.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1451986951-3703-2-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_gem.c