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)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:15 +0000 (10:29 +0900)
commite742f673b2bc596264b246e409ab169512352fb7
treef34a005174821d11a6b068e1925715e286ddaccc
parent62e9e50eacb5e756b999f859d0cdeb93b3e43319
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.

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