do_migrate_pages(): remove unused variable
authorMinChan Kim <[email protected]>
Tue, 12 Aug 2008 22:08:52 +0000 (15:08 -0700)
committerLinus Torvalds <[email protected]>
Tue, 12 Aug 2008 23:07:29 +0000 (16:07 -0700)
Signed-off-by: MinChan Kim <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/mempolicy.c

index e550bec205826bd63f46082d6c5aac7bc69aa23e..83369058ec133b380a482ca86792087134b944f6 100644 (file)
@@ -803,7 +803,6 @@ static int migrate_to_node(struct mm_struct *mm, int source, int dest,
 int do_migrate_pages(struct mm_struct *mm,
        const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags)
 {
-       LIST_HEAD(pagelist);
        int busy = 0;
        int err = 0;
        nodemask_t tmp;