[PATCH 3/5] xfs: remove unused xfs_buf_iodone declaration
From: Zizhi Wo
Date: Fri Sep 04 2026 - 02:23:45 EST
From: Zizhi Wo <wozizhi@xxxxxxxxxx>
Commit 664ffb8a429a ("xfs: move the buffer retry logic to xfs_buf.c")
removed the xfs_buf_iodone() implementation and its last caller in
favour of xfs_buf_ioend_finish(), but the declaration in xfs_buf_item.h was
left behind. It has been a dead prototype ever since (2020).
Remove the stale declaration.
Assisted-by: Claude-Code:GLM-5.2
Signed-off-by: Zizhi Wo <wozizhi@xxxxxxxxxx>
---
fs/xfs/xfs_buf_item.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/xfs/xfs_buf_item.h b/fs/xfs/xfs_buf_item.h
index 3159325dd17b..28c79989d725 100644
--- a/fs/xfs/xfs_buf_item.h
+++ b/fs/xfs/xfs_buf_item.h
@@ -60,7 +60,6 @@ static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp)
{
}
#endif /* CONFIG_XFS_QUOTA */
-void xfs_buf_iodone(struct xfs_buf *);
bool xfs_buf_log_check_iovec(struct kvec *iovec);
unsigned int xfs_buf_inval_log_space(unsigned int map_count,
--
2.52.0