From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6BD3C433EF for ; Thu, 7 Oct 2021 13:38:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B185160F5C for ; Thu, 7 Oct 2021 13:38:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241712AbhJGNkh (ORCPT ); Thu, 7 Oct 2021 09:40:37 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36856 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241704AbhJGNkT (ORCPT ); Thu, 7 Oct 2021 09:40:19 -0400 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 18DC83FFED for ; Thu, 7 Oct 2021 13:38:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1633613905; bh=Puh8mRYPY/DpKQ/I9uyYNXcSBWp/u+3lkb87itcd3n8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hM4K1U2upHrOK1WFvCeLBclzbbS4XhvCB+Bf3DajgDNvfGpIIKFwWup/KmOdUREci 3dxqMxcT9sf/OWRZHfQ4hcGZdcXVT9KqG9ZQTuMZcwPcsig7ygss8UxudgxIJSqQfM l1hTsgyJOmoCsCvFvRUFgBev4loa3VXmGcQnn7hJdlo0ZQV6IOAVI6A+kSlqIYx8Hl qr/Q/Z92H5hBI3nCrISXQstNgDW+xOq4ml0P1k7BP6u4J7Zm3hO0HP8QGOp2j0y5/T u2ONm6G6cPu2MpXg14MePLoOGPoRO8khEMpnRyLYxMx6VJ/u/4UEO15Ki6+SYwfqTE NvlhThgljkPww== Received: by mail-ed1-f69.google.com with SMTP id u23-20020a50a417000000b003db23c7e5e2so5926777edb.8 for ; Thu, 07 Oct 2021 06:38:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Puh8mRYPY/DpKQ/I9uyYNXcSBWp/u+3lkb87itcd3n8=; b=qCA+imhTa/sff3susJIQtGSFgKqIThhBT13ij0nLb6Vp8DlDTM2A7St+wfYhCGbT0i 2+8WZknqNN/IsM8myDeoZwRCgpDtn5E776rla8OjqFDbreq8jA7xZIHXueEgmruHPjlt f+Hcrq1e+JNkU6oTTT0iqDFajg1d90FvW7ZV8AgrnsQmMzPU4lL35XQaP1Zupe3e0Z9D STpACyMz4AIQPJPffUIRBVyKF94uW+NpBIkHczNGOVyzjarpp9zQozEfXvVIKYAAclHB baRZw6CX0RID6dbq9z1ZV84c2feLGIpqcRPldDfjWabmpdqzTXdqfOeXsq329QZHjHHQ 29Mw== X-Gm-Message-State: AOAM532+uCgEEyb4KkHj+Uo5YjZ+osSOuXrv52wTJuCWLjvWei16JURK qRonc6dHP9/WlYDJ+SGTQi8Yzb7c81Q4D8PzXttoNqWj8GiMq0CUW8i4q7UlvP2CXnaw4NHEG+d OdUsvJYG8dh1ItgmbhlH8ahRH5fxgfEltsv21eeGj8ttO X-Received: by 2002:a17:906:3a0f:: with SMTP id z15mr5941400eje.42.1633613904634; Thu, 07 Oct 2021 06:38:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVZsfRsmZOsEhr/fwES6UsllaiU8YmaLl7naS0VLYqarKwWGbgvqdOR+dFnFEt2mVLnmtVKg== X-Received: by 2002:a17:906:3a0f:: with SMTP id z15mr5941370eje.42.1633613904460; Thu, 07 Oct 2021 06:38:24 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-186-13.adslplus.ch. [188.155.186.13]) by smtp.gmail.com with ESMTPSA id ay19sm8585613edb.20.2021.10.07.06.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 06:38:23 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Krzysztof Opasiak , Mark Greer , "David S. Miller" , Jakub Kicinski , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: [RESEND PATCH v2 5/7] nfc: st21nfca: drop unneeded debug prints Date: Thu, 7 Oct 2021 15:30:19 +0200 Message-Id: <20211007133021.32704-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211007133021.32704-1-krzysztof.kozlowski@canonical.com> References: <20211007133021.32704-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org ftrace is a preferred and standard way to debug entering and exiting functions so drop useless debug prints. Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/st21nfca/i2c.c | 4 ---- drivers/nfc/st21nfca/se.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index 279d88128b2e..f126ce96a7df 100644 --- a/drivers/nfc/st21nfca/i2c.c +++ b/drivers/nfc/st21nfca/i2c.c @@ -421,7 +421,6 @@ static int st21nfca_hci_i2c_read(struct st21nfca_i2c_phy *phy, static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id) { struct st21nfca_i2c_phy *phy = phy_id; - struct i2c_client *client; int r; @@ -430,9 +429,6 @@ static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id) return IRQ_NONE; } - client = phy->i2c_dev; - dev_dbg(&client->dev, "IRQ\n"); - if (phy->hard_fault != 0) return IRQ_HANDLED; diff --git a/drivers/nfc/st21nfca/se.c b/drivers/nfc/st21nfca/se.c index c8bdf078d111..a43fc4117fa5 100644 --- a/drivers/nfc/st21nfca/se.c +++ b/drivers/nfc/st21nfca/se.c @@ -257,8 +257,6 @@ static void st21nfca_se_wt_timeout(struct timer_list *t) struct st21nfca_hci_info *info = from_timer(info, t, se_info.bwi_timer); - pr_debug("\n"); - info->se_info.bwi_active = false; if (!info->se_info.xch_error) { @@ -278,8 +276,6 @@ static void st21nfca_se_activation_timeout(struct timer_list *t) struct st21nfca_hci_info *info = from_timer(info, t, se_info.se_active_timer); - pr_debug("\n"); - info->se_info.se_active = false; complete(&info->se_info.req_completion); -- 2.30.2