drm/gem: move drm_gem_object_handle_unreference_unlocked into drm_gem.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 22:02:34 +0000 (00:02 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:46:56 +0000 (10:46 +1000)
We have three callers of this function now and it's neither
performance critical nor really small. So an inline function feels
like overkill and unecessarily separates the different parts of the
code.

Since all callers of drm_gem_object_handle_free are now in drm_gem.c
we can make that static (and remove the unused EXPORT_SYMBOL). To
avoid a forward declaration move it (and drm_gem_object_free_bug) up a
bit.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found