]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: remove the incorrect comment above xfs_buf_free_maps
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 14:12:06 +0000 (15:12 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jan 2025 10:38:14 +0000 (11:38 +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>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@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)