diff options
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index f000771558d8..464406e8da91 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -1512,10 +1512,6 @@ static int kernel_migrate_pages(pid_t pid, unsigned long maxnode, | |||
1512 | if (nodes_empty(*new)) | 1512 | if (nodes_empty(*new)) |
1513 | goto out_put; | 1513 | goto out_put; |
1514 | 1514 | ||
1515 | nodes_and(*new, *new, node_states[N_MEMORY]); | ||
1516 | if (nodes_empty(*new)) | ||
1517 | goto out_put; | ||
1518 | |||
1519 | err = security_task_movememory(task); | 1515 | err = security_task_movememory(task); |
1520 | if (err) | 1516 | if (err) |
1521 | goto out_put; | 1517 | goto out_put; |