mm/gup: Remove for_each_compound_range()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 9 Jan 2022 01:23:46 +0000 (20:23 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:34 +0000 (12:56 -0400)
commita5f100db6855dbfe2709887b7348ce727e990fb6
tree2387a0559d83a421789893eb9e8c4b070585e3a6
parent8ea2979c1444cd455ddbe7f976de79cc09fdc38d
mm/gup: Remove for_each_compound_range()

This macro doesn't simplify the users; it's easier to just call
compound_range_next() inside the loop.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/gup.c