Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp720893imn; Tue, 26 Jul 2022 07:36:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uhdGe8KVvfCTbw0D03cYKoiatvyK/vzDVg9RPVCSUSeWApOssawv6hhABAV8lD1FT6k8mY X-Received: by 2002:a63:d847:0:b0:41a:dbc4:ef9e with SMTP id k7-20020a63d847000000b0041adbc4ef9emr11858208pgj.379.1658846216067; Tue, 26 Jul 2022 07:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658846216; cv=none; d=google.com; s=arc-20160816; b=YQBDamFDMYfYhKxLt5QUKMucZv0sA3Gypj53HOJLWAih02ffO1UgN6NRJf3CvzR6Vk zfSLhf/AgIIbtXOu/4unPS+A2e7ulQ/qY/qoSLcbZXJAgpRWNJT44vligmA1lLohbFEE IUpu0i9UA1f8X1/DU165NTK+OnHGM7RWUlcUVVSW2Nm4nXM5mpz+Ca1Nf/GgMrzTAv+Q Ke0hCN7lwFZUF6TxEI1aPd57E+aUhXb8wymjQ80nHJBMEIzy/F2IsDOBHWcy9tWhHc9o 7XTsF1X5hiPuqvhcckdngtevAIC+Qjf10fsH8OYIA52V0VAVXY1fH2yaHQTHu2RybI2Y YsKg== 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=ftNWhZKMCyFHJuS+/lMmo6G1TIYcQUyKHeEfj9gb5Bg=; b=UnKdIspr8xre/Op9e08jq6RZn5d7wTUXHegro9E7OXd8KgtrjMuo5MeYCyg8LhDGLO n5phn898M/Lu5AAiPBSGGNDWUBqk8M6xNabfInbkBpeXGJ+E0/CUFyIrWOgjORTrmXMi 3wuBy1K/WrAdHTYeqTOjitUOHE0hZOuntgsx5HZO9s2nh54LdIFc528iphX+Q28fBp4q WrxwmRch7YEzXAlBsYkWodnDZdoBBMrjk/B5s5e+YY2sxxtar1rwC35Uf0aKBXiPNbVY 6Qvk23vcqLGjqB1ayD9YbzfJgxjDtAUbs+/exMLgPfJkISG4HL1BUkMJwUPw4kEtBH+U DRyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 y65-20020a633244000000b00419f2d09e77si15982161pgy.99.2022.07.26.07.36.40; Tue, 26 Jul 2022 07:36:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S239283AbiGZO3k (ORCPT + 99 others); Tue, 26 Jul 2022 10:29:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238805AbiGZO3g (ORCPT ); Tue, 26 Jul 2022 10:29:36 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A492CC78 for ; Tue, 26 Jul 2022 07:29:35 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LsfNw56LBzjX0w; Tue, 26 Jul 2022 22:26:40 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 26 Jul 2022 22:29:32 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH v2 2/5] hugetlbfs: remove unneeded hugetlbfs_ops forward declaration Date: Tue, 26 Jul 2022 22:29:15 +0800 Message-ID: <20220726142918.51693-3-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220726142918.51693-1-linmiaohe@huawei.com> References: <20220726142918.51693-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500002.china.huawei.com (7.192.104.244) 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 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-kernel@vger.kernel.org The forward declaration for hugetlbfs_ops is unnecessary. Remove it. Signed-off-by: Miaohe Lin Reviewed-by: Mike Kravetz --- fs/hugetlbfs/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index e998c416b85f..a10156df5726 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -40,7 +40,6 @@ #include #include -static const struct super_operations hugetlbfs_ops; static const struct address_space_operations hugetlbfs_aops; const struct file_operations hugetlbfs_file_operations; static const struct inode_operations hugetlbfs_dir_inode_operations; -- 2.23.0