]> git.baikalelectronics.ru Git - kernel.git/commit
binder: remove binder_alloc_set_vma()
authorCarlos Llamas <cmllamas@google.com>
Tue, 6 Sep 2022 13:59:46 +0000 (13:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Sep 2022 15:02:06 +0000 (17:02 +0200)
commit00598ba47184f9469481ab26b45a693c327764ae
tree537e0c91967e89b07cd87a29a0ff4945d0a06e87
parent59a4c0a88f3bfe902ccaea24e032eb5e6f0af614
binder: remove binder_alloc_set_vma()

The mmap_locked asserts here are not needed since this is only called
back from the mmap stack in ->mmap() and ->close() which always acquire
the lock first. Remove these asserts along with binder_alloc_set_vma()
altogether since it's trivial enough to be consumed by callers.

Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20220906135948.3048225-3-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c