diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-10 06:29:10 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-11 14:15:03 +0200 |
commit | 060e82c6f4ccf678decffb28ba8301ca9220a995 (patch) | |
tree | 3bfc8c9c235c0c48d45ebe8a360c57679a8f30a9 /block/compat_ioctl.c | |
parent | ad19f10bc2a5964f1564639e60953de76b7e50f6 (diff) |
drm/i915: Remove redundant list_empty(eb->vmas) tests in execbuffer
Part of the pre-validation for an execbuffer call is that there is at
least one object in the execlist. As we bail if we fail to lookup any
object, we can be sure that after the eb_lookup_vma() there is at least
one object in the vma list and so we do not need to assert.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions