Skip to contentSkip to conversation

drm/i915: remove unused mem_block struct definition

PATCH Applied Mika Kuoppala 3 participants 3 messages Oct 22, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: remove unused mem_block struct definition

---
 drivers/gpu/drm/i915/i915_drv.h |    8 --------
 1 file changed, 8 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -8
index 4728d30..656115c 100644
@@ -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;
Signature · 1 line
1.7.9.5
#2 lore raw
Quoted 7 lines · Chris Wilson
Quoted 1 line · Mika Kuoppala

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

Queued for -next, thanks for the patch.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch