commit | f0d2e86c1b9ecd9cbe967b94e2f0d197f30cb3e7 | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Wed Sep 27 10:35:31 2017 +0200 |
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Fri Oct 06 11:05:50 2017 +0200 |
tree | 529b745ad1212289d9102f2660f2ec10da5b33cb | |
parent | 15438ab06515b093d61e2f35bb27d21e5e7f966e [diff] |
drm/atomic: Remove unneeded null check for private objects It can be seen in drm_atomic_get_private_obj_state() that ptr will never be NULL, so skip the check for that case. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170927083532.5756-1-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>