diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-13 22:06:50 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-19 15:39:38 +0300 |
commit | 311bd68e024f9006db66cbadc3bd9f62fd663f4b (patch) | |
tree | b4092a6de5015d58bde98b2efc0c6f5b95ffe2c7 /drivers/gpu/drm/i915/i915_gem_execbuffer.c | |
parent | 18b2190ca5bd3f19717421b1591c79c9b0372428 (diff) | |
download | linux-311bd68e024f9006db66cbadc3bd9f62fd663f4b.tar.xz |
drm/i915: Trivial sparse fixes
Move code around and invoke iomem annotation in a few more places in
order to silence sparse. Still a few more iomem annotations to go...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index dcfdf4151b6d..94b80acfe6ab 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -690,8 +690,6 @@ i915_gem_execbuffer_relocate_slow(struct drm_device *dev, /* reacquire the objects */ eb_reset(eb); for (i = 0; i < count; i++) { - struct drm_i915_gem_object *obj; - obj = to_intel_bo(drm_gem_object_lookup(dev, file, exec[i].handle)); if (obj == NULL) { |