OSDN Git Service

drm/crtc_helper/set_config: Remove redundant handling when set->fb is NULL
authorLiu Ying <gnuiyl@gmail.com>
Thu, 14 Jan 2016 06:00:09 +0000 (14:00 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Jan 2016 06:51:10 +0000 (07:51 +0100)
commit07096bd3c9d83f043c733c592974aa8ea93ba2db
tree33dd0908c215bbdac7e4d63d0d3858190383e9c8
parent1df59b8497f47495e873c23abd6d3d290c730505
drm/crtc_helper/set_config: Remove redundant handling when set->fb is NULL

We've done sanity NULL pointer check on set->fb at the beginning of
drm_crtc_helper_set_config() and bailed out if necessary, thus any later on
check or case handling is redundant.

Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452751210-19216-1-git-send-email-gnuiyl@gmail.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc_helper.c