]> www.infradead.org Git - users/hch/xfs.git/commitdiff
xfs: remove the incorrect comment above xfs_buf_free_maps
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jan 2025 09:28:52 +0000 (09:28 +0000)
committerChristoph Hellwig <hch@lst.de>
Sat, 11 Jan 2025 05:21:41 +0000 (06:21 +0100)
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>
fs/xfs/xfs_buf.c

index da38c18acbbaf346da13902ad1ff784de3f8e57d..5702cad9ccc9ed30e165b25b16c9e8443d3b38b9 100644 (file)
@@ -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)