diff mbox

drm/i915: remove unused mem_block struct definition

Message ID 1350911430-1871-1-git-send-email-mika.kuoppala@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mika Kuoppala Oct. 22, 2012, 1:10 p.m. UTC
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h |    8 --------
 1 file changed, 8 deletions(-)

Comments

Chris Wilson Oct. 22, 2012, 1:48 p.m. UTC | #1
On Mon, 22 Oct 2012 16:10:30 +0300, Mika Kuoppala <mika.kuoppala@linux.intel.com> wrote:
> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>

First you clean up the unused code, then the unwanted and then the
dysfunctional. And then there will be nothing left!

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
Daniel Vetter Oct. 22, 2012, 5:39 p.m. UTC | #2
On Mon, Oct 22, 2012 at 02:48:59PM +0100, Chris Wilson wrote:
> On Mon, 22 Oct 2012 16:10:30 +0300, Mika Kuoppala <mika.kuoppala@linux.intel.com> wrote:
> > Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
> 
> First you clean up the unused code, then the unwanted and then the
> dysfunctional. And then there will be nothing left!
> 
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Queued for -next, thanks for the patch.
-Daniel
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 4728d30..656115c 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -129,14 +129,6 @@  struct drm_i915_gem_phys_object {
 	struct drm_i915_gem_object *cur_obj;
 };
 
-struct mem_block {
-	struct mem_block *next;
-	struct mem_block *prev;
-	int start;
-	int size;
-	struct drm_file *file_priv; /* NULL: free, -1: heap, other: real files */
-};
-
 struct opregion_header;
 struct opregion_acpi;
 struct opregion_swsci;