Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2938022rdb; Tue, 12 Sep 2023 17:58:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUyQcHEtbpqb8DwJn8UGZJEfRjIOhFmpCkx8NikI7WJXtBwV/AKDmAssh5+mDF3NHHMxfj X-Received: by 2002:a17:903:22cc:b0:1c3:b1d8:41b8 with SMTP id y12-20020a17090322cc00b001c3b1d841b8mr1859060plg.0.1694566696665; Tue, 12 Sep 2023 17:58:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694566696; cv=none; d=google.com; s=arc-20160816; b=BFvm1al4bqubQhBPUoHZLDaLTiGPZDQGmx01cQnOHU/UpltR6f3swlr/1+6S50rp+Z mlxmfFmf/IbhgyF7fnIfPaSBP6hgnXBGgpDTB4syRbJBQ+NS36YM2nys+pkygNdWPgn1 8Cdm8+ZeKtPgynM1I2bYXPZCFzEdhHK2ZaOtZnPm6936UyG+qnNePNdQHnGBjXkmI6gQ 89tTuJfMH5/eUw6H0xPW0vVHS2lElQixkCOLywmyjamfD9/wGx/SgrlM/YfgLuSbTTrY xZZRuAKy65j55byLbBphQHicENx492XlXX4hHxsdSkIJMm6b3ihZSruSaCVsCnZRSHAW kmEQ== 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 :message-id:date:subject:cc:to:from; bh=Wk5ALB0ytLNw9xRQ1vF5TqIfRR41lP1PKGu/YArmnXs=; fh=vZrIdXTVwX1JYpIIIhI2srckDY02YAewpfij7wLRobU=; b=QqneI7/xVbjcRiLI322agrhldH4oyfTEXDQr88YvUCAwSNp999DgNg762C2yGvjZIx g7rTYkQm91/O3SbSf1Ctm/3aTszb/csLL05JBbFPyTARtHJTEgEYmqcybpOMKkjXIKJ8 pI7OxQPXFIOcZxr+DLivLsZxfeEHQUTqVnKbc1tsFYExKJwba1nvMFMzq5pq+cV6cgBg +2gOjm2zPLT1zLnb6oS/PmpZY1QFHNMsAV4L0LwSHCc/AtyGCT85NCequXn+jusaScJd D4teJIy6bD9JW8Ph8F6OW9rSwPGJR19ELgc9o3t5f4IAfEtkOyEfA0h/v6Uc5G5vWlpD URaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id s17-20020a170902c65100b001bf2dc67da3si8630398pls.209.2023.09.12.17.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 17:58:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 481FF80236D0; Tue, 12 Sep 2023 17:58:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235042AbjIMA6G (ORCPT + 99 others); Tue, 12 Sep 2023 20:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjIMA6F (ORCPT ); Tue, 12 Sep 2023 20:58:05 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DFDC10F6; Tue, 12 Sep 2023 17:58:00 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R641e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VryGzmx_1694566677; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VryGzmx_1694566677) by smtp.aliyun-inc.com; Wed, 13 Sep 2023 08:57:58 +0800 From: Yang Li To: kent.overstreet@linux.dev, bfoster@redhat.com Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] bcachefs: Remove unneeded semicolon Date: Wed, 13 Sep 2023 08:57:56 +0800 Message-Id: <20230913005756.6827-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 17:58:11 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email ./fs/bcachefs/btree_gc.c:1249:2-3: Unneeded semicolon ./fs/bcachefs/btree_gc.c:1521:2-3: Unneeded semicolon ./fs/bcachefs/btree_gc.c:1575:2-3: Unneeded semicolon ./fs/bcachefs/counters.c:46:2-3: Unneeded semicolon Signed-off-by: Yang Li --- fs/bcachefs/btree_gc.c | 6 +++--- fs/bcachefs/counters.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/bcachefs/btree_gc.c b/fs/bcachefs/btree_gc.c index dac2eb76c985..56c671638c43 100644 --- a/fs/bcachefs/btree_gc.c +++ b/fs/bcachefs/btree_gc.c @@ -1246,7 +1246,7 @@ static int bch2_gc_done(struct bch_fs *c, copy_dev_field(d[i].sectors, "%s sectors", bch2_data_types[i]); copy_dev_field(d[i].fragmented, "%s fragmented", bch2_data_types[i]); } - }; + } { unsigned nr = fs_usage_u64s(c); @@ -1518,7 +1518,7 @@ static int bch2_gc_alloc_start(struct bch_fs *c, bool metadata_only) buckets->first_bucket = ca->mi.first_bucket; buckets->nbuckets = ca->mi.nbuckets; rcu_assign_pointer(ca->buckets_gc, buckets); - }; + } bch2_trans_init(&trans, c, 0, 0); @@ -1572,7 +1572,7 @@ static void bch2_gc_alloc_reset(struct bch_fs *c, bool metadata_only) g->dirty_sectors = 0; g->cached_sectors = 0; } - }; + } } static int bch2_gc_write_reflink_key(struct btree_trans *trans, diff --git a/fs/bcachefs/counters.c b/fs/bcachefs/counters.c index 442a9b806a3c..26eb3d82b1cb 100644 --- a/fs/bcachefs/counters.c +++ b/fs/bcachefs/counters.c @@ -43,7 +43,7 @@ static void bch2_sb_counters_to_text(struct printbuf *out, struct bch_sb *sb, prt_tab(out); prt_printf(out, "%llu", le64_to_cpu(ctrs->d[i])); prt_newline(out); - }; + } }; int bch2_sb_counters_to_cpu(struct bch_fs *c) -- 2.20.1.7.g153144c