Skip to contentSkip to conversation

Remove unused function from radeon_mem.c

PATCH In review Bob Miller 2 participants 3 messages Nov 19, 2002 Char and misc drivers

lore
Share & tools
lore

Bob Miller

author
#0 lore raw

PATCH 1/1 Remove unused function from radeon_mem.c

drivers/char/drm/radeon_mem.c +0 -10
diff -Nru a/drivers/char/drm/radeon_mem.c b/drivers/char/drm/radeon_mem.c
@@ -130,16 +130,6 @@
 	}
 }
 
-static void print_heap( struct mem_block *heap )
-{
-	struct mem_block *p;
-
-	for (p = heap->next ; p != heap ; p = p->next) 
-		DRM_DEBUG("0x%x..0x%x (0x%x) -- owner %d\n",
-			  p->start, p->start + p->size,
-			  p->size, p->pid);
-}
-
 /* Initialize.  How to check for an uninitialized heap?
  */
 static int init_heap(struct mem_block **heap, int start, int size)
Signature · 2 lines
Bob Miller					Email: [email protected]
Open Source Development Lab			Phone: 503.626.2455 Ext. 17
#1 lore raw

Can you leave this one. Its just going to make resynching with the XFree86 4.3 DRM harder. The DRM in the kernel is about to become obsolete anyway

author
#2 lore raw
Quoted 3 lines · Alan Cox

Can you leave this one. Its just going to make resynching with the XFree86 4.3 DRM harder. The DRM in the kernel is about to become obsolete anyway

Cool.

Signature · 2 lines
Bob Miller					Email: [email protected]
Open Source Development Lab			Phone: 503.626.2455 Ext. 17