From patchwork Fri May 28 14:55:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12287217 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CCB3C4708C for ; Fri, 28 May 2021 14:56:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1045161132 for ; Fri, 28 May 2021 14:56:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236685AbhE1O6W (ORCPT ); Fri, 28 May 2021 10:58:22 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:47178 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236624AbhE1O6F (ORCPT ); Fri, 28 May 2021 10:58:05 -0400 Received: from mail-vs1-f70.google.com ([209.85.217.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lmduX-0004DT-Oh for netdev@vger.kernel.org; Fri, 28 May 2021 14:56:29 +0000 Received: by mail-vs1-f70.google.com with SMTP id u21-20020a67c8150000b029022a6f03b431so1084781vsk.9 for ; Fri, 28 May 2021 07:56:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4J89KlzzqThKgmZLnM37DvaB3SqI47fv9hR1FCtpA64=; b=DRqdg7d6PuU65hSeSIkgSv0dL5y3jWwOWsiqBsTXIFj1Kvx0zViEy1d2AEdY+PY9gO 8/dbDGkcIienaVkP1L3tSklbHf7SxJcW+LwBHuLgRvXvtZ1mBRej3X4Gm0mnSKzzm1tI 8gWbfCUO+8C1crjRB9e61nmCeIwulWGkFqI9hOpOzzMLktd+fZRUrnI1zKfNNALg6BWW 2vm0aufWZ44L12WG9r9/PVcAJxM44xDXy4A5drh9KySvjWuVmiCRHP040LMooxnV5jrS 20jzqqZ7jQJHSE9z+G2TqQw+gDJcNN1suvdeY7eeqcgDakAvJ+ukYsk2ypMFpwnFZVcE pOCQ== X-Gm-Message-State: AOAM5336oZiBK+mPBri8p8qGl9xwr043dhaqhkR8bB6OTWnPlmr+LXCL 5k6R3AiwQCHc8XoyaFdthygHOrPRx+G6qXAUUzoRRMRMqGpkqFa0S59a/x3tF/CBobirRe+Rrg4 EWqsYJOckjKjCwDjiJCue8PNOP+OFrG5hPQ== X-Received: by 2002:a67:fe57:: with SMTP id m23mr7736102vsr.47.1622213788965; Fri, 28 May 2021 07:56:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfP6IRN4IcIxf2t6eEShocPoP23xgflYrdiX1LN2LPsh2qCqRV1RB9l96ev0kp0bJKZkT0Qw== X-Received: by 2002:a67:fe57:: with SMTP id m23mr7736079vsr.47.1622213788791; Fri, 28 May 2021 07:56:28 -0700 (PDT) Received: from localhost.localdomain ([45.237.48.3]) by smtp.gmail.com with ESMTPSA id c15sm743661vko.15.2021.05.28.07.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 07:56:28 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , "David S. Miller" , Randy Dunlap , Jakub Kicinski , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman Subject: [PATCH 09/11] nfc: st21nfca: drop ftrace-like debugging messages Date: Fri, 28 May 2021 10:55:32 -0400 Message-Id: <20210528145534.125460-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210528145534.125460-1-krzysztof.kozlowski@canonical.com> References: <20210528145330.125055-1-krzysztof.kozlowski@canonical.com> <20210528145534.125460-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Now that the kernel has ftrace, any debugging calls that just do "made it to this function!" and "leaving this function!" can be removed. Better to use standard debugging tools. Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/st21nfca/i2c.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index cebc6c06a1b6..7a9f4d71707e 100644 --- a/drivers/nfc/st21nfca/i2c.c +++ b/drivers/nfc/st21nfca/i2c.c @@ -502,9 +502,6 @@ static int st21nfca_hci_i2c_probe(struct i2c_client *client, struct st21nfca_i2c_phy *phy; int r; - dev_dbg(&client->dev, "%s\n", __func__); - dev_dbg(&client->dev, "IRQ: %d\n", client->irq); - if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) { nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); return -ENODEV; @@ -568,8 +565,6 @@ static int st21nfca_hci_i2c_remove(struct i2c_client *client) { struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); - dev_dbg(&client->dev, "%s\n", __func__); - st21nfca_hci_remove(phy->hdev); if (phy->powered)