linux/drivers/gpu/drm/cirrus
Markus Elfring 63ecf57248 drm/cirrus: Delete an unnecessary check before drm_gem_object_unreference_unlocked()
The drm_gem_object_unreference_unlocked() function tests whether
its argument is NULL and then returns immediately.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/bebf88d8-cc28-657a-e96c-58447d8cf376@users.sourceforge.net
2016-07-18 09:11:30 +02:00
..
cirrus_drv.c drm/cirrus: Use lockless gem BO free callback 2016-06-01 09:40:21 +02:00
cirrus_drv.h drm/ttm: remove use_ticket parameter from ttm_bo_reserve 2016-05-04 20:21:21 -04:00
cirrus_fbdev.c drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
cirrus_main.c drm/cirrus: Delete an unnecessary check before drm_gem_object_unreference_unlocked() 2016-07-18 09:11:30 +02:00
cirrus_mode.c drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
cirrus_ttm.c drm/ttm: implement LRU add callbacks v2 2016-05-04 20:21:38 -04:00
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile