[Compile Regression in 2.4.25-pre8][PATCH 35/42]

Kronos
2004-02-02T20:36:36Z

radeon_mem.c:135: warning: `print_heap' defined but not used

Remove unused function.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/char/drm/radeon_mem.c linux-2.4/drivers/char/drm/radeon_mem.c
--- linux-2.4-vanilla/drivers/char/drm/radeon_mem.c Tue Nov 11 17:51:38 2003
+++ linux-2.4/drivers/char/drm/radeon_mem.c Sat Jan 31 19:00:49 2004
@@ -131,16 +131,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)

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Non sempre quello che viene dopo e` progresso.
Alessandro Manzoni