nfc: st21nfca: drop unneeded debug prints
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 11 Oct 2021 13:38:33 +0000 (15:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Oct 2021 00:00:51 +0000 (17:00 -0700)
ftrace is a preferred and standard way to debug entering and exiting
functions so drop useless debug prints.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/st21nfca/i2c.c
drivers/nfc/st21nfca/se.c

index 279d881..f126ce9 100644 (file)
@@ -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;
 
index c8bdf07..a43fc41 100644 (file)
@@ -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);