Skip to content

Commit e52cc2a

Browse files
krzkkuba-moo
authored andcommitted
nfc: st21nfca: drop unneeded debug prints
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>
1 parent 8491031 commit e52cc2a

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

drivers/nfc/st21nfca/i2c.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ static int st21nfca_hci_i2c_read(struct st21nfca_i2c_phy *phy,
421421
static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id)
422422
{
423423
struct st21nfca_i2c_phy *phy = phy_id;
424-
struct i2c_client *client;
425424

426425
int r;
427426

@@ -430,9 +429,6 @@ static irqreturn_t st21nfca_hci_irq_thread_fn(int irq, void *phy_id)
430429
return IRQ_NONE;
431430
}
432431

433-
client = phy->i2c_dev;
434-
dev_dbg(&client->dev, "IRQ\n");
435-
436432
if (phy->hard_fault != 0)
437433
return IRQ_HANDLED;
438434

drivers/nfc/st21nfca/se.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ static void st21nfca_se_wt_timeout(struct timer_list *t)
257257
struct st21nfca_hci_info *info = from_timer(info, t,
258258
se_info.bwi_timer);
259259

260-
pr_debug("\n");
261-
262260
info->se_info.bwi_active = false;
263261

264262
if (!info->se_info.xch_error) {
@@ -278,8 +276,6 @@ static void st21nfca_se_activation_timeout(struct timer_list *t)
278276
struct st21nfca_hci_info *info = from_timer(info, t,
279277
se_info.se_active_timer);
280278

281-
pr_debug("\n");
282-
283279
info->se_info.se_active = false;
284280

285281
complete(&info->se_info.req_completion);

0 commit comments

Comments
 (0)