|
@@ -410,13 +410,7 @@ static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free,
|
|
|
|
|
|
if (NUM_PAGES_TO_ALLOC < nr_free)
|
|
|
npages_to_free = NUM_PAGES_TO_ALLOC;
|
|
|
-#if 0
|
|
|
- if (nr_free > 1) {
|
|
|
- pr_debug("%s: (%s:%d) Attempting to free %d (%d) pages\n",
|
|
|
- pool->dev_name, pool->name, current->pid,
|
|
|
- npages_to_free, nr_free);
|
|
|
- }
|
|
|
-#endif
|
|
|
+
|
|
|
if (use_static)
|
|
|
pages_to_free = static_buf;
|
|
|
else
|