drm/i915: Remove unused to_gem_object() macro
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 3 Mar 2014 17:42:37 +0000 (17:42 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:40 +0000 (21:30 +0100)
commit9ad6ce51026204cbb2fda4c63f3544c3eb637471
treea2f81115a13c191b49a409db44a60a87ca0fdcbb
parentcb216aa844e211923a270f5c68ecbdfe738e3a3e
drm/i915: Remove unused to_gem_object() macro

That macro was only ever used to convert ring->private into a gem object
(hence the forceful cast). ring->private doesn't even exist anymore as
it was transmogrified by Chris in:

  commit 0d1aacac36530fce058d7a0db3da7befd5765417
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Mon Aug 26 20:58:11 2013 +0100

      drm/i915: Embed the ring->private within the struct intel_ring_buffer

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h