mm/gup: Remove for_each_compound_head()
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)
commit15dc9a4cebadba5643942c77e65017eb2e3d8eb6
treed215757e3d0f2becdb0de70bfd07947696547133
parent1efb18c9b8a7c8f401a49a2d6fa2e33b4a1b0d16
mm/gup: Remove for_each_compound_head()

This macro doesn't simplify the users; it's easier to just call
compound_next() inside a standard 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