From: Tobin C Harding <m...@tobin.cc> Patch fixes checkpatch warning on use of braces around a single statement.
Signed-off-by: Tobin C Harding <m...@tobin.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