mm/huge_memory: Fix unused label warning
authorBen Hutchings <ben@decadent.org.uk>
Mon, 6 Nov 2017 00:34:07 +0000 (00:34 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:41 +0000 (13:34 +0000)
This label is unused since commit 2ea6895123eb8604c1c0c153e2fcd1305fb96aca
"mm/huge_memory.c: fix up "mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for
thp" backport".  There's no upstream equivalent of this as the label is
still used there.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
mm/huge_memory.c

index d6e6caf..94ef2af 100644 (file)
@@ -1009,7 +1009,6 @@ struct page *follow_trans_huge_pmd(struct mm_struct *mm,
        if (flags & FOLL_GET)
                get_page_foll(page);
 
-out:
        return page;
 }