linux/drivers/gpu/drm/ast
Markus Elfring f7813aa037 drm/ast: 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/f28c063f-ec56-e62b-9370-89ce833fa4e5@users.sourceforge.net
2016-07-18 09:11:32 +02:00
..
ast_dp501.c drm/ast: Cleanup analog init code path 2014-09-15 11:37:46 +10:00
ast_dram_tables.h
ast_drv.c drm/ast: Use lockless gem BO free callback 2016-06-01 09:40:02 +02:00
ast_drv.h drm/ttm: remove use_ticket parameter from ttm_bo_reserve 2016-05-04 20:21:21 -04:00
ast_fb.c drm/ast: Remove useless drm_fb_get_bpp_depth() call 2016-06-07 21:40:34 +02:00
ast_main.c drm/ast: Delete an unnecessary check before drm_gem_object_unreference_unlocked() 2016-07-18 09:11:32 +02:00
ast_mode.c drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
ast_post.c drm/ast: POST chip at probe time if VGA not enabled 2014-09-15 11:37:44 +10:00
ast_tables.h drm/ast: Add reduced blanking modes for wide screen mode 2014-09-16 14:57:47 +10:00
ast_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 drm/ast: initial DP501 support (v0.2) 2014-05-19 11:13:57 +10:00