summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-02-25 17:17:56 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-26 09:41:01 -0800
commite0af87ff7afcde2660be44302836d2d5618185af (patch)
tree644455620b84b43e341ad72dd4b5e5f1f5b03c66 /mm/rmap.c
parentaaf1f990aee40bc74b425ef8f51201ae21b85ed7 (diff)
downloadlinux-e0af87ff7afcde2660be44302836d2d5618185af.tar.bz2
mm/rmap: remove unneeded semicolon in page_not_mapped()
Remove extra semicolon without any functional change intended. Link: https://lkml.kernel.org/r/20210127093425.39640-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index f6f43620cd97..46fdbf541b8e 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -1784,7 +1784,7 @@ bool try_to_unmap(struct page *page, enum ttu_flags flags)
static int page_not_mapped(struct page *page)
{
return !page_mapped(page);
-};
+}
/**
* try_to_munlock - try to munlock a page