diff mbox series

[-next] nfs: Remove obsoleted declaration for nfs_read_prepare

Message ID 20240826032157.4011241-1-cuigaosheng1@huawei.com (mailing list archive)
State New
Headers show
Series [-next] nfs: Remove obsoleted declaration for nfs_read_prepare | expand

Commit Message

cuigaosheng Aug. 26, 2024, 3:21 a.m. UTC
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 <cuigaosheng1@huawei.com>
---
 fs/nfs/internal.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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 */