All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: remove unused mem_block struct definition
@ 2012-10-22 13:10 Mika Kuoppala
  2012-10-22 13:48 ` Chris Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Mika Kuoppala @ 2012-10-22 13:10 UTC (permalink / raw)
  To: intel-gfx

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

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;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: remove unused mem_block struct definition
  2012-10-22 13:10 [PATCH] drm/i915: remove unused mem_block struct definition Mika Kuoppala
@ 2012-10-22 13:48 ` Chris Wilson
  2012-10-22 17:39   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2012-10-22 13:48 UTC (permalink / raw)
  To: Mika Kuoppala, intel-gfx

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

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: remove unused mem_block struct definition
  2012-10-22 13:48 ` Chris Wilson
@ 2012-10-22 17:39   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2012-10-22 17:39 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

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
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-22 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 13:10 [PATCH] drm/i915: remove unused mem_block struct definition Mika Kuoppala
2012-10-22 13:48 ` Chris Wilson
2012-10-22 17:39   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.