summaryrefslogtreecommitdiff
path: root/mm/sparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/sparse.c')
-rw-r--r--mm/sparse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index d7af5cfdc810..bf32de9e666b 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -896,9 +896,6 @@ static void clear_hwpoisoned_pages(struct page *memmap, int nr_pages)
{
int i;
- if (!memmap)
- return;
-
/*
* A further optimization is to have per section refcounted
* num_poisoned_pages. But that would need more space per memmap, so