mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 08:38:23 +02:00
#if 0 out print_heap, a static, unused function that causes warnings.
This commit is contained in:
parent
b528efae82
commit
ae0ee9a2f7
2 changed files with 4 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ static void free_block( struct mem_block *p )
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void print_heap( struct mem_block *heap )
|
||||
{
|
||||
struct mem_block *p;
|
||||
|
|
@ -139,6 +140,7 @@ static void print_heap( struct mem_block *heap )
|
|||
p->start, p->start + p->size,
|
||||
p->size, p->pid);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initialize. How to check for an uninitialized heap?
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ static void free_block( struct mem_block *p )
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void print_heap( struct mem_block *heap )
|
||||
{
|
||||
struct mem_block *p;
|
||||
|
|
@ -139,6 +140,7 @@ static void print_heap( struct mem_block *heap )
|
|||
p->start, p->start + p->size,
|
||||
p->size, p->pid);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initialize. How to check for an uninitialized heap?
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue