diff options
Diffstat (limited to 'mm/sparse.c')
-rw-r--r-- | mm/sparse.c | 3 |
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) | |||
896 | { | 896 | { |
897 | int i; | 897 | int i; |
898 | 898 | ||
899 | if (!memmap) | ||
900 | return; | ||
901 | |||
902 | /* | 899 | /* |
903 | * A further optimization is to have per section refcounted | 900 | * A further optimization is to have per section refcounted |
904 | * num_poisoned_pages. But that would need more space per memmap, so | 901 | * num_poisoned_pages. But that would need more space per memmap, so |