nfc: pn533: drop unneeded debug prints
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 13 Sep 2021 13:20:25 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Sep 2021 13:38:00 +0000 (14:38 +0100)
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: David S. Miller <davem@davemloft.net>
drivers/nfc/pn533/i2c.c
drivers/nfc/pn533/pn533.c

index e6bf8cf..f5610b6 100644 (file)
@@ -128,7 +128,6 @@ static int pn533_i2c_read(struct pn533_i2c_phy *phy, struct sk_buff **skb)
 static irqreturn_t pn533_i2c_irq_thread_fn(int irq, void *data)
 {
        struct pn533_i2c_phy *phy = data;
-       struct i2c_client *client;
        struct sk_buff *skb = NULL;
        int r;
 
@@ -137,9 +136,6 @@ static irqreturn_t pn533_i2c_irq_thread_fn(int irq, void *data)
                return IRQ_NONE;
        }
 
-       client = phy->i2c_dev;
-       dev_dbg(&client->dev, "IRQ\n");
-
        if (phy->hard_fault != 0)
                return IRQ_HANDLED;
 
index 2f3f3fe..c5f127f 100644 (file)
@@ -1235,8 +1235,6 @@ static void pn533_listen_mode_timer(struct timer_list *t)
 {
        struct pn533 *dev = from_timer(dev, t, listen_timer);
 
-       dev_dbg(dev->dev, "Listen mode timeout\n");
-
        dev->cancel_listen = 1;
 
        pn533_poll_next_mod(dev);