Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6221792rwn; Tue, 13 Sep 2022 00:20:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR6lGqk2TtwewqNSqp4ZcPJ/TdAO/5Z/bwZt6/DgfKCnowgVBQaA546p788qquMoLiI5JKai X-Received: by 2002:a63:d60b:0:b0:429:7f1e:aa6 with SMTP id q11-20020a63d60b000000b004297f1e0aa6mr26448695pgg.492.1663053657704; Tue, 13 Sep 2022 00:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663053657; cv=none; d=google.com; s=arc-20160816; b=SBMyoU8cGvooieJeiDO9NB9z0faL5PjvrG0ZXZCUBD0RBpxFNsNVvofGa7leO8xCgb jyKt8HBS6wNT1Cn30W9YN5RD4x5WlRygYYS2DmUy8ZjftMDnarrQ3u7Qqbj7gCeFxLYW CbwQJK/JOWa+7cdXSGvtX/DQvMlnLCkOq3poZcGRgVevA+WNLSRaZLKqQZntj71AJ7fF KybrtYyiRWdY6K2mykJ0hwJaJaXz1Wxpbd6sJbIw2Vv+TgW0PwNRf/tinRwCfZXxMOPM wo+6EfLgP1A3ozIo0+STZ+f+uYn+P707KhngwGpTfFdiBn3ntVq04zlabmGXyL9wB/ye FPzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=2WjsFH6Zs3l8wM5+ZggUNCIrWazGCIovRZW7tJX78UI=; b=L8ZYdvXn3Zqt4XgjEAPXYddD1lh1ueWjJGxqcFce6pWAg1Fv1OECw38seX2Nsj36F+ 6VRBn1zuQJ+JIECU3dm4DCMSPQV794d+jOpwvfDcEWoLdEIjFmGlTVPK/hEq29LF8P8f 2e9xwhZe1L3SDvfQxJU9zQgyCTJ39Q+p29YuzjYZfId541PX8dKpxg9iVJTj58eEzPvW YbkFALwdI7yxrvkJmHJhn7WWUWAd6pux591zNtO7i+tdcWeYPqYVyTjxsdOq8ESBiI+L GDF4q6cCxRtQtnNeXa6pf2YtZdFyG6UPgDi6KflYoOn3pO1tFRhyPeNO2L6N5UlRWfnW J39Q== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020aa78d91000000b0052d9c492c52si10089648pfr.133.2022.09.13.00.20.38; Tue, 13 Sep 2022 00:20:57 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbiIMHN4 (ORCPT + 99 others); Tue, 13 Sep 2022 03:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbiIMHN4 (ORCPT ); Tue, 13 Sep 2022 03:13:56 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5265F21266 for ; Tue, 13 Sep 2022 00:13:55 -0700 (PDT) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MRZNP2N6Hz14QSV; Tue, 13 Sep 2022 15:09:57 +0800 (CST) Received: from huawei.com (10.175.112.208) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 13 Sep 2022 15:13:53 +0800 From: Yuan Can To: , CC: Subject: [PATCH] fs/ext2: remove unused variable es Date: Tue, 13 Sep 2022 07:11:41 +0000 Message-ID: <20220913071141.94082-1-yuancan@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 The variable es is never used, remove it. No functional change. Signed-off-by: Yuan Can --- fs/ext2/ialloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c index 998dd2ac8008..951b80a7f7d2 100644 --- a/fs/ext2/ialloc.c +++ b/fs/ext2/ialloc.c @@ -620,11 +620,9 @@ unsigned long ext2_count_free_inodes (struct super_block * sb) int i; #ifdef EXT2FS_DEBUG - struct ext2_super_block *es; unsigned long bitmap_count = 0; struct buffer_head *bitmap_bh = NULL; - es = EXT2_SB(sb)->s_es; for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { unsigned x; -- 2.17.1