diff options
Diffstat (limited to 'mm/migrate.c')
-rw-r--r-- | mm/migrate.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 155a2e9a8059..766115253807 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
@@ -980,10 +980,6 @@ int migrate_huge_pages(struct list_head *from, | |||
980 | } | 980 | } |
981 | rc = 0; | 981 | rc = 0; |
982 | out: | 982 | out: |
983 | |||
984 | list_for_each_entry_safe(page, page2, from, lru) | ||
985 | put_page(page); | ||
986 | |||
987 | if (rc) | 983 | if (rc) |
988 | return rc; | 984 | return rc; |
989 | 985 | ||