diff options
author | Chris Wilson <[email protected]> | 2017-03-17 20:53:17 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-03-17 22:54:40 +0000 |
commit | f3ddd2c14fdc08798a7fa2d32b39786585162f50 (patch) | |
tree | 134fff1f54681bda557716b14f0fcb74eab44dff /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
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 <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions