mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Revert "ARM: dma-mapping: silence warning if atomic_pool_size=0"
This reverts commit 234d421421.
We do not use coherent_pool=0 anymore.
Change-Id: I3b05f15955c8f4b156cf8a4dfd8c0977e33a24b9
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -338,9 +338,6 @@ static int __init atomic_pool_init(void)
|
||||
struct page *page;
|
||||
void *ptr;
|
||||
|
||||
if (!atomic_pool_size)
|
||||
return 0;
|
||||
|
||||
atomic_pool = gen_pool_create(PAGE_SHIFT, -1);
|
||||
if (!atomic_pool)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user