drm/gem: remove bogus NULL check from drm_gem_object_handle_unreference_unlocked
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 22:02:35 +0000 (00:02 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:47:13 +0000 (10:47 +1000)
commit6bc505b86ae9d4ab45464e3e3c0ab8992d6a5aff
tree2a0ff0844aba2081d46683cb665208cd83862884
parent36da5908a275d6319c17e758b5bde89b4f573959
drm/gem: remove bogus NULL check from drm_gem_object_handle_unreference_unlocked

Calling this function with a NULL object is simply a bug, so papering
over a NULL object not a good idea.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c