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>
Thu, 17 Feb 2022 22:05:51 +0000 (17:05 -0500)
commit1efb18c9b8a7c8f401a49a2d6fa2e33b4a1b0d16
tree6e29775c421e00e68f47c2a8b2f443b2550edbed
parent2e48fbe80625ec17bdb60eae51742b9f6f571664
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