From nobody Fri Dec 19 00:21:58 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EAB4C4167B for ; Fri, 1 Dec 2023 17:24:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379105AbjLARY0 (ORCPT ); Fri, 1 Dec 2023 12:24:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378848AbjLARX6 (ORCPT ); Fri, 1 Dec 2023 12:23:58 -0500 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA1E2723 for ; Fri, 1 Dec 2023 09:23:19 -0800 (PST) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5ca2a6f07b6so40373367b3.2 for ; Fri, 01 Dec 2023 09:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1701451398; x=1702056198; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=cAIHsbo51mg8B6aRA1t9pk6vlJjR/cpfdTMz4BgsBxY=; b=zKxTteOXbaQc0IqiA38KA8PjIECFgLqerLwkt5XhrU6CiQrLbjZrIBNuLwdCuk7Y2y LBSfb7ZdBGQpST+1vYvMS/Dh+3qe+Y1Mj5pkWQy67cPRdf7W+AXHcmZZPoEyV4YBDFKp w29X/sJXDxK7p0Qfz3FvbpR+eFTF4TFkxY6Oriwa1Q/LktaMBVxHxeGMZ4PurMXVV/3i XfOpZJUiW64Ltu7ZH0+XJt+T3JGgU7n7x86qotfS2T79p8t/lLzbNEIxqrOklcP4buR/ 7OZraIEoxHcWNJdfrlknD0ykveja6+K+yp8JRwPj076IBTnurRrWHHAvbFezbLnpq2Bk wcvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701451398; x=1702056198; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cAIHsbo51mg8B6aRA1t9pk6vlJjR/cpfdTMz4BgsBxY=; b=nfkMJbU0WrhAc5DUz/9xE757ipn5NgPQHPpFqQrlGBv0rbJsw/fY3Fe/s2GquFpEF6 p8/XGnrzxHxqFC6Gtx2TNMa2YhXH4r6JGwZ5VsYFYgh5QKxemPt4BgJ7yEw4JI4Pofns gBlt5oOtQePuMiUOtlsWGcXj9s95GlFrFO2vM2fX5nuAyCLIGl76dkMTewDvDS3xf4G6 IaQ3X72tLBnImzaW4dv4xSBZwjbx4n9MhafXZ32GnP0yivi46aDRNYGXEeOvGVvKDl4A GEnTYRncigpSL3SmmohwmIzzo/c08zWPQcA1TTESWhR+Iqa9M9iggcy+A6mnGo1Kge8r XZEA== X-Gm-Message-State: AOJu0YzxcYFzf2NLohF8Jx9lidbb5YLNzWzjhwejxMxbVkk8VWzhASNC JtbMK/NxCTSFda2Ch/EIWIFYL6PCx1qphQ== X-Google-Smtp-Source: AGHT+IEOJDTYB57hjmKhd8EwwHUzy1iTghVQUhIePO1/xcuUbCKBwqLTyAkiZ5O2yf2CWxPKFJEDSlp064JQNQ== X-Received: from xllamas.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5070]) (user=cmllamas job=sendgmr) by 2002:a81:5213:0:b0:5d6:d039:bbf with SMTP id g19-20020a815213000000b005d6d0390bbfmr31961ywb.4.1701451398740; Fri, 01 Dec 2023 09:23:18 -0800 (PST) Date: Fri, 1 Dec 2023 17:21:49 +0000 In-Reply-To: <20231201172212.1813387-1-cmllamas@google.com> Mime-Version: 1.0 References: <20231201172212.1813387-1-cmllamas@google.com> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog Message-ID: <20231201172212.1813387-21-cmllamas@google.com> Subject: [PATCH v2 20/28] binder: remove redundant debug log From: Carlos Llamas To: Greg Kroah-Hartman , "=?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?=" , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Carlos Llamas , Suren Baghdasaryan Cc: linux-kernel@vger.kernel.org, kernel-team@android.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Alice Ryhl --- drivers/android/binder_alloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c index 551f08e84408..c9292eee8fee 100644 --- a/drivers/android/binder_alloc.c +++ b/drivers/android/binder_alloc.c @@ -512,9 +512,6 @@ static struct binder_buffer *binder_alloc_new_buf_locke= d( buffer->free =3D 0; buffer->allow_user_free =3D 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 =3D is_async; buffer->oneway_spam_suspect =3D false; if (is_async) { --=20 2.43.0.rc2.451.g8631bc7472-goog