[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1485992240-10986-5-git-send-email-me@tobin.cc>
Date:   Thu,  2 Feb 2017 10:37:20 +1100
From:   "Tobin C. Harding" <me@...in.cc>
To:     linux-mm@...ck.org
Cc:     linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Jan Kara <jack@...e.cz>,
        Ross Zwisler <ross.zwisler@...ux.intel.com>,
        Michal Hocko <mhocko@...e.com>, Tobin C Harding <me@...in.cc>
Subject: [PATCH 4/4] mm: Fix checkpatch warning, extraneous braces
From: Tobin C Harding <me@...in.cc>
Patch fixes checkpatch warning on use of braces around a single
statement.
Signed-off-by: Tobin C Harding <me@...in.cc>
---
 mm/memory.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index 35fb8b2..654e6f4 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1128,9 +1128,8 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
 	arch_enter_lazy_mmu_mode();
 	do {
 		pte_t ptent = *pte;
-		if (pte_none(ptent)) {
+		if (pte_none(ptent))
 			continue;
-		}
 
 		if (pte_present(ptent)) {
 			struct page *page;
-- 
2.7.4
Powered by blists - more mailing lists
 
