]> 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, 2 Sep 2021 15:26:36 +0000 (11:26 -0400)
commit5e388fa85fcc05d6372f44b3f53117e4c70c17dc
treea333df5f5005c72cb010ec486fa7464122a720fb
parentd712870bf2ed444a678adf1d151176c4aaaed735
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