[PATCH 4/4] mm: Fix checkpatch warning, extraneous braces
From: Tobin C. Harding
Date: Wed Feb 01 2017 - 18:38:27 EST
From: Tobin C Harding <me@xxxxxxxx>
Patch fixes checkpatch warning on use of braces around a single
statement.
Signed-off-by: Tobin C Harding <me@xxxxxxxx>
---
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