binder: remove redundant debug log
authorCarlos Llamas <cmllamas@google.com>
Fri, 1 Dec 2023 17:21:49 +0000 (17:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2023 00:23:40 +0000 (09:23 +0900)
The debug information in this statement is already logged earlier in the
same function. We can get rid of this duplicate log.

Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-21-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c

index 551f08e8440891aa6fac5d76aa2275b5b45f2112..c9292eee8fee077423ff2f48877d4fdd971702e2 100644 (file)
@@ -512,9 +512,6 @@ static struct binder_buffer *binder_alloc_new_buf_locked(
        buffer->free = 0;
        buffer->allow_user_free = 0;
        binder_insert_allocated_buffer_locked(alloc, buffer);
-       binder_alloc_debug(BINDER_DEBUG_BUFFER_ALLOC,
-                    "%d: binder_alloc_buf size %zd got %pK\n",
-                     alloc->pid, size, buffer);
        buffer->async_transaction = is_async;
        buffer->oneway_spam_suspect = false;
        if (is_async) {