Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4710697pxb; Tue, 31 Aug 2021 11:21:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytuirPTW4hd4YtF6Ni8qv+PIlIHR6+0RqAmhAyxmFSVKD2HzPr55llOi9CCDN36pWJj3y2 X-Received: by 2002:aa7:c94c:: with SMTP id h12mr30438708edt.378.1630434086646; Tue, 31 Aug 2021 11:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630434086; cv=none; d=google.com; s=arc-20160816; b=VjhXP0YJH2umOAcnI49nwtJsv3QhFRSDTTLv1n6Jp54Q/fRquO2dhDCA+IT96A70+y BZg42lX+WdYGtHisx/tDPoBrdQd0DXEKolCkcUczwFraNOF1lkk749DDXo0SvtJX/Nwd iPpy5qSYjzT3SIij23TWUsjIaIU2MCiakibTEAOIn6RjXIG/xkjztwAEpiM1uyRkNFoA HtYqW8cYi+E3+z1D6QNaw0fMztb5Scg36Pdtx0VA3zbY5uNnSG2ASb/c9/eHVpG/aU7+ 1iKG7ggAsU+hjhnWyVp882tQF3LMjCn2g0fK+xrM/fJEBswCUd57ImEV/ugrcVaRQQ6O o45w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=a/2+IO+onR8n3ZdfuwB5lM1ps4vOPHv1OrjjTrVRTCk=; b=rS+5avEtBI0M7bHhy4vQEOTJIltOxQjaWUt/F7wL8gbHTMM5e1ei2wSMpFbrlZMwuv 126txsL/4dCd0+bzAvrokKPUZd1rGBUh0PglBrprPBIupsUZqhuHwc8yncpmN3gyzwfc YpFkTDZGK0Ee71L2gjDJ1wRbr+Z6GPQQJHwMI2GD6I+B560vdItOnuvB9YN5/82EaGgA gKp1pgVbMLZ6VytgAobEA+YO1isznuFahihXLNUWxNwWjC/HrojeVDocf0nBabXzvVoJ doatnstkBdO4TZE6U+gYz461faDOluhWilqkK8wlMxGGO+xid/jhTErxvS430WOl+Tut YUMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X0ufsWfC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl9si18023638ejc.603.2021.08.31.11.20.58; Tue, 31 Aug 2021 11:21:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X0ufsWfC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240002AbhHaSQ0 (ORCPT + 99 others); Tue, 31 Aug 2021 14:16:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238911AbhHaSQS (ORCPT ); Tue, 31 Aug 2021 14:16:18 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539F3C061575 for ; Tue, 31 Aug 2021 11:15:22 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id d16so262456ljq.4 for ; Tue, 31 Aug 2021 11:15:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a/2+IO+onR8n3ZdfuwB5lM1ps4vOPHv1OrjjTrVRTCk=; b=X0ufsWfC9N2z4/uotq23vGlo/DdqC+468GqPtNuc1ZZfkah7kMxpeku5LUa9pPVVH+ TmWaglhxqM2zYn1HRHLkMhgeU8GgkEefvt3gA9U7CPFqiu18mEllBf6br8uo/VF7RVYo vuSImix2ItWDgrpRdbjLgfyxGDmxG0BJvNJvJNxVLtDdmrShZaXBLrOjOCJ+zXD7gA+r If0dgYQk9rhRpbxyhrzFLL11zbsKubj/F4bY9dEJ1B86QOXvHBcK7UzFGPRCS9w5DO7W 5fv/MjFwb2VWAHeBpssB14VYKbmiaRyiSVKnqK+y/k6BNcpuxvn9/LzCdd/drCH2kLj9 xaVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a/2+IO+onR8n3ZdfuwB5lM1ps4vOPHv1OrjjTrVRTCk=; b=Yq1Vcs7Vpk7PnLsLDoeVDNEvMDtrq+AO77/fbYRhKyxXNOUPho7Hkuw5plHYnibfSc cmPEC1+Xn2odkpAoKKvKZYrQrPxk6ErqSNncEXa0wCZ4v1rJ4XtF9RI7jL8TQvYs/6H5 fMdNAHnD3tqrCVKdvihZNi9QHcs8DUKFOAnUBRzPPv808buWwKKE3NLqTw6BTEEUDeXQ V4wlhVftZO0KT20YOowKzfCcDE8aXLD/K3EursRb8i/TfxZKV6EFoJ39sr7l/krWgOpX QVwiURuzJjmAyT2PsCe5Nj1/Vwvanl3jETdzJQbO/qdDpogmBJUbxsiibu3GqHTrXt91 1Spg== X-Gm-Message-State: AOAM533nVJrhtOq5eC5kGfE112Ng+xHozdcYMH5WyusdPnzRH7FYylTt KgP0PNY7rfl6dhtQc+mrftw= X-Received: by 2002:a2e:84c5:: with SMTP id q5mr7039974ljh.43.1630433720728; Tue, 31 Aug 2021 11:15:20 -0700 (PDT) Received: from kari-VirtualBox.telewell.oy (85-23-89-224.bb.dnainternet.fi. [85.23.89.224]) by smtp.gmail.com with ESMTPSA id z11sm2270757ljn.114.2021.08.31.11.15.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 11:15:20 -0700 (PDT) From: Kari Argillander To: Konstantin Komarov , ntfs3@lists.linux.dev Cc: Kari Argillander , linux-kernel@vger.kernel.org Subject: [PATCH 4/5] fs/ntfs3: Remove braces from single statment block Date: Tue, 31 Aug 2021 21:15:04 +0300 Message-Id: <20210831181505.1074767-5-kari.argillander@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210831181505.1074767-1-kari.argillander@gmail.com> References: <20210831181505.1074767-1-kari.argillander@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove braces from single statment block as they are not needed. Also Linux kernel coding style guide recommend this and checkpatch warn about this. Signed-off-by: Kari Argillander --- fs/ntfs3/frecord.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c index bc3887635012..61448325c4d1 100644 --- a/fs/ntfs3/frecord.c +++ b/fs/ntfs3/frecord.c @@ -2906,9 +2906,9 @@ bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), de + 1, de_key_size); mi_get_ref(&ni->mi, &de->ref); - if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) { + if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) return false; - } + } return true; -- 2.25.1