[PATCH-2.4.26] drm/radeon_mem cleanup

From: Willy TARREAU
Date: Sun Mar 28 2004 - 07:23:46 EST


Hi Marcelo,

drm/radeon_mem ouputs a warning because print_heap() is never
used in 2.4.26-rc1. I only commented it out to keep it useful
for debugging purposes. Please apply.

Willy

--- ./drivers/char/drm/radeon_mem.c.orig Sun Mar 28 14:07:38 2004
+++ ./drivers/char/drm/radeon_mem.c Sun Mar 28 14:08:16 2004
@@ -131,6 +131,7 @@
}
}

+#if 0
static void print_heap( struct mem_block *heap )
{
struct mem_block *p;
@@ -140,6 +141,7 @@
p->start, p->start + p->size,
p->size, p->pid);
}
+#endif

/* Initialize. How to check for an uninitialized heap?
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/