commit | f3ddd2c14fdc08798a7fa2d32b39786585162f50 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 17 20:53:17 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 17 22:54:40 2017 +0000 |
tree | 134fff1f54681bda557716b14f0fcb74eab44dff | |
parent | ce8ff099c47be277e56461b91270a4926954dc98 [diff] |
drm/i915: Correct error handling for i915_gem_object_create_from_data() i915_gem_object_create_from_data() always returns an error pointer on failure, there is no need to check against NULL. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170317205317.7885-1-chris@chris-wilson.co.uk Reviewed-by: Matthew Auld <matthew.auld@intel.com>