Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5300153rwb; Mon, 31 Jul 2023 23:32:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHO4DXB7dD4s9OeMmRPji+qTSdIJ2KyHeWJ/umyjUMcKhYR6SsLH2hv3l5moMBPaEV5bbOJ X-Received: by 2002:a05:6a20:6a0f:b0:138:92ef:78f9 with SMTP id p15-20020a056a206a0f00b0013892ef78f9mr12232980pzk.6.1690871554966; Mon, 31 Jul 2023 23:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690871554; cv=none; d=google.com; s=arc-20160816; b=vzH8tJ2NmRY94OT7RCIafQ8T5XDwaeXwzkMyEHJbXZSDHOWSry7vvgw4RbiI3tbcr2 wOHw9sV7jbSDapdJ0Kyc0WQKDsjZhuokKqruzngVUBdqFg3AYWXEpoqiGS+2G4URIo3a 6l7ZPabH7NO9fu9VOiAGaVAxqnmUvcyb9i9cLzxw9O/IrHpP9uqVnQMqwTpHkLoOTzfi n792Er4E5emAhGsKM7U7rg83brLQiR7w/Ob+HrO268Eu9+mHzP7mDti6Ve02pF19MmYW V8L6tbhna80RPeb2AghhqaM1gEmyWveYzKhTS/mevaG5S7HGabzQ9kArRD6RJHcMHJIa glnw== 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; bh=YOpl2IFhcEGA84g7ZcfocNFhak5AjtAk1Xh/29xyqN0=; fh=MlGqaUnvBjpXmiP990bdf+mzv9VjPrVaE5OVdv29XYE=; b=EHbAIdL0pqNyv0+NDifKw1+rJCMJ4o2lozM3TjOUrJVFpGmeJsTpLFjWSSvhEmNLM4 slgYhu9sbl1aTJhV4LRqwFZJZ0Ubb9eX4f/dBe9ZzOFPq42XIF1QqcOt8SI67UnxYUT/ 9JDNIg5mjjcG2d9sU2OKvgMrGg09b41Eda83gJ2GtyhHOd9BfKKHe1Dp1NmCqYIsNkyx 6vTMvldxtLZ16MrkSOiLdA8+gneZi8LOCs94ZO4W8T/nwPeFFurdn7MKNcRdX2LT+kkL U8u2o/MKkYqMZqBOKpWOL/Co6ce1Bw9HuA+k1HtNzD9TJRvRN/tMUf4x7Pn7Gd8eH8xa sO4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020a170902d54900b001b87b716f87si8697984plf.329.2023.07.31.23.32.22; Mon, 31 Jul 2023 23:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231631AbjHAGcA (ORCPT + 99 others); Tue, 1 Aug 2023 02:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231474AbjHAGby (ORCPT ); Tue, 1 Aug 2023 02:31:54 -0400 Received: from dggsgout12.his.huawei.com (unknown [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F1AE7; Mon, 31 Jul 2023 23:31:53 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4RFQHl2ZN1z4f3lw2; Tue, 1 Aug 2023 14:31:47 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP2 (Coremail) with SMTP id Syh0CgDnjOrQpshkMcvqPA--.21719S9; Tue, 01 Aug 2023 14:31:50 +0800 (CST) From: Kemeng Shi To: tytso@mit.edu, adilger.kernel@dilger.ca, ritesh.list@gmail.com, ojaswin@linux.ibm.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Cc: shikemeng@huaweicloud.com Subject: [PATCH v3 07/10] ext4: remove unused ext4_{set}/{clear}_bit_atomic Date: Tue, 1 Aug 2023 22:32:01 +0800 Message-Id: <20230801143204.2284343-8-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20230801143204.2284343-1-shikemeng@huaweicloud.com> References: <20230801143204.2284343-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: Syh0CgDnjOrQpshkMcvqPA--.21719S9 X-Coremail-Antispam: 1UD129KBjvdXoWruFyUXr1kGF45Wr4xXFy8AFb_yoWfuFX_J3 4IvF4kGryYk3Z7KFs5u3WkJF1ktrnxtr18uFyrJr1ruFyaqan8Ar4kAryjvw1rWr4UXFy0 yrn7tr1YqFykXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbDkFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M280x2IEY4vEnII2IxkI6r1a6r45M28IrcIa0xkI8V A2jI8067AKxVWUAVCq3wA2048vs2IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJ M28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2I x0cI8IcVCY1x0267AKxVWxJr0_GcWl84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vE x4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2 IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4U McvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I64 8v4I1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AK xVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrx kI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAIcVC0I7IYx2IY6xkF7I0E14v2 6F4j6r4UJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr 1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7sRiVbyDUU UUU== X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, MAY_BE_FORGED,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Remove ext4_set_bit_atomic and ext4_clear_bit_atomic which are defined but not used. Signed-off-by: Kemeng Shi Reviewed-by: Ritesh Harjani (IBM) --- fs/ext4/ext4.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index ea87850c1bb6..a9b1eeb6bf09 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1249,10 +1249,8 @@ struct ext4_inode_info { #define ext4_test_and_set_bit __test_and_set_bit_le #define ext4_set_bit __set_bit_le -#define ext4_set_bit_atomic ext2_set_bit_atomic #define ext4_test_and_clear_bit __test_and_clear_bit_le #define ext4_clear_bit __clear_bit_le -#define ext4_clear_bit_atomic ext2_clear_bit_atomic #define ext4_test_bit test_bit_le #define ext4_find_next_zero_bit find_next_zero_bit_le #define ext4_find_next_bit find_next_bit_le -- 2.30.0