drm/atomic: Remove pointless private object NULL state check
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Jul 2017 15:51:01 +0000 (18:51 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Jul 2017 16:28:43 +0000 (19:28 +0300)
commit178e32c224d2772d3862828dc6f81e4d8953b2f2
tree23d55ea9be8720c9f883d1e1ea958edca9d5d63e
parent56a91c4932bd038f3d1f6555ddc349ca4e6933b0
drm/atomic: Remove pointless private object NULL state check

We will never add private objects with a NULL state into the atomic
state, hence checking for that is pointless.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170712155102.26276-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_atomic.c