]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Drop range_has_overlap() function
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 18 Jun 2021 19:06:12 +0000 (15:06 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Oct 2021 19:23:08 +0000 (15:23 -0400)
commit64a9c497ac1ea8e89ca522eabefa8d1a4d1ea1c4
tree4c2f6d3fcab7851a4d306ebe7800412d6291ca3e
parent53c02e51669b592f88d99c84900c4405ff388355
mm/mmap: Drop range_has_overlap() function

Since there is no longer a linked list, the range_has_overlap() function
is identical to the find_vma_intersection() function.  There is only one
place that actually needs the previous vma, so just use vma_prev() in
that one case.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c