From patchwork Mon Aug 26 03:21:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: cuigaosheng X-Patchwork-Id: 13777033 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D83801F5FE for ; Mon, 26 Aug 2024 03:22:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724642523; cv=none; b=mAcTAuE0G/IHx2VcOZ8Rdt/Zp/4XqZZxt6R1VRQdIfR7E4LxYMriWZ9IMVYY6IK1KAsqjjwDGaDIgMbOwzTi4HpFUNGI2W+YIgUW3GjObnGbzJ4UbpNp8EbVotcmqWkQql52TiAte3h9XS0GucZQ0YzeLEu5paskrv78lzucKV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724642523; c=relaxed/simple; bh=ZcN5sH30cCRPKD8DjTTe2Szofa2kcgMbvhHhMnWVA0A=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hJPJCfD1eEPGx1DDUWvhYW4uyfMqoii9AbUCMKTFb00ZxoIj3SkSTg2BcWpdwmoBb4FKeZOk2DDWZwz6pVmByQw1GnEvgKbrYcvNml5GTOy8wm+x6Kl/ugdSRxoN9Dycq7/Z3L7Im4k+OgNbIZ3M5ddvwwzzvr4LZ5M2aD/O7Sg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.190 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WsbSl2xNxz20mfr; Mon, 26 Aug 2024 11:17:11 +0800 (CST) Received: from kwepemd200011.china.huawei.com (unknown [7.221.188.251]) by mail.maildlp.com (Postfix) with ESMTPS id 36D3C180043; Mon, 26 Aug 2024 11:21:58 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemd200011.china.huawei.com (7.221.188.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Mon, 26 Aug 2024 11:21:57 +0800 From: Gaosheng Cui To: , , CC: Subject: [PATCH -next] nfs: Remove obsoleted declaration for nfs_read_prepare Date: Mon, 26 Aug 2024 11:21:57 +0800 Message-ID: <20240826032157.4011241-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemd200011.china.huawei.com (7.221.188.251) The nfs_read_prepare() have been removed since commit a4cdda59111f ("NFS: Create a common pgio_rpc_prepare function"), and now it is useless, so remove it. Signed-off-by: Gaosheng Cui --- fs/nfs/internal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 5902a9beca1f..b3dc7c84eef9 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -505,7 +505,6 @@ extern int nfs_read_add_folio(struct nfs_pageio_descriptor *pgio, struct nfs_open_context *ctx, struct folio *folio); extern void nfs_pageio_complete_read(struct nfs_pageio_descriptor *pgio); -extern void nfs_read_prepare(struct rpc_task *task, void *calldata); extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio); /* super.c */