]> 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>
Thu, 24 Jun 2021 20:04:25 +0000 (16:04 -0400)
commitef405ccc71c026ef7d7806bd92534f85cc7cb676
tree10a5642bd97cd7e4373f5a2381cd42819fb95d55
parentc48638798ffab0b5500425a7cfde10e70bd44335
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