summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-01-13 15:12:06 +0100
committerCarlos Maiolino <cem@kernel.org>2025-01-14 11:38:14 +0100
commit83e9c69dcf18bff12ed205423b91e1e1ae316998 (patch)
tree7afbf7eee05cf0f2ccdf8c68060c8956ee848894
parentcbd6883ed8662073031a32f1294cdf53c8ec24a4 (diff)
xfs: remove the incorrect comment above xfs_buf_free_maps
The comment above xfs_buf_free_maps talks about fields not even used in the function and also doesn't add any other value. Remove it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
-rw-r--r--fs/xfs/xfs_buf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index da38c18acbba..5702cad9ccc9 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -203,9 +203,6 @@ xfs_buf_get_maps(
return 0;
}
-/*
- * Frees b_pages if it was allocated.
- */
static void
xfs_buf_free_maps(
struct xfs_buf *bp)