[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210127093425.39640-1-linmiaohe@huawei.com>
Date: Wed, 27 Jan 2021 04:34:25 -0500
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linmiaohe@...wei.com>
Subject: [PATCH] mm/rmap: Remove unneeded semicolon in page_not_mapped()
Remove extra semicolon without any functional change intended.
Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
---
mm/rmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.19.1
Powered by blists - more mailing lists