From: Chris Wilson Date: Sun, 10 Aug 2014 05:29:10 +0000 (+0100) Subject: drm/i915: Remove redundant list_empty(eb->vmas) tests in execbuffer X-Git-Tag: fixes-against-v3.18-rc2~73^2~73^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060e82c6f4ccf678decffb28ba8301ca9220a995;p=pandora-kernel.git 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 Cc: Ben Widawsky Cc: Daniel Vetter Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed