drm/i915: Remove unused variable from i915_gem_mmap_gtt
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 15:46:40 +0000 (17:46 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:38 +0000 (11:25 +0200)
Lost in

commit c5ad54cf7dd8922bd1cee2d5871aebf73dc9638e
Author: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Date:   Wed May 6 14:36:09 2015 +0300

    drm/i915: Use partial view in mmap fault handler

Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_gem.c

index f128ed8d6f65d7b40f325d60014f975bc1df9284..fb48e72772528e6ac735401f5ff0f24a03f63bef 100644 (file)
@@ -1919,7 +1919,6 @@ i915_gem_mmap_gtt(struct drm_file *file,
                  uint32_t handle,
                  uint64_t *offset)
 {
-       struct drm_i915_private *dev_priv = dev->dev_private;
        struct drm_i915_gem_object *obj;
        int ret;