drm/i915: remove unused has_dma_mapping flag
authorImre Deak <imre.deak@intel.com>
Wed, 8 Jul 2015 16:18:59 +0000 (19:18 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Jul 2015 20:42:41 +0000 (22:42 +0200)
commit5ec5b51639ec81031b655eaacf95d4f36b75e9b4
tree4dc6926190de602664aa66c176d05eb467e1104b
parent101057fa40c17e8ecd0cdcf74664235de3b69c34
drm/i915: remove unused has_dma_mapping flag

After the previous patch this flag will check always clear, as it's
never set for shmem backed and userptr objects, so we can remove it.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Yeah this isn't really fixes but it's a nice cleanup to
clarify the code but not really worth the hassle of backmerging. So
just add to -fixes, we're still early in -rc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_dmabuf.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_stolen.c