aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/sparse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index 19eb8b7bc263..a2a2784133a9 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -438,10 +438,6 @@ static void __init sparse_buffer_init(unsigned long size, int nid)
memblock_alloc_try_nid_raw(size, PAGE_SIZE,
addr,
MEMBLOCK_ALLOC_ACCESSIBLE, nid);
- if (!sparsemap_buf)
- panic("%s: Failed to allocate %lu bytes align=0x%lx nid=%d from=%pa\n",
- __func__, size, PAGE_SIZE, nid, &addr);
-
sparsemap_buf_end = sparsemap_buf + size;
}