From: Ben Hutchings Date: Mon, 6 Nov 2017 00:34:07 +0000 (+0000) Subject: mm/huge_memory: Fix unused label warning X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30a95ae76d94760d8b8f9e5c244939772df14c2;p=pandora-kernel.git mm/huge_memory: Fix unused label warning 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 --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c index d6e6cafdb2c9..94ef2af4a76b 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -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; }