Commit 84910319 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski

nfc: st-nci: 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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent edfa5366
...@@ -157,7 +157,6 @@ static int st_nci_i2c_read(struct st_nci_i2c_phy *phy, ...@@ -157,7 +157,6 @@ static int st_nci_i2c_read(struct st_nci_i2c_phy *phy,
static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id)
{ {
struct st_nci_i2c_phy *phy = phy_id; struct st_nci_i2c_phy *phy = phy_id;
struct i2c_client *client;
struct sk_buff *skb = NULL; struct sk_buff *skb = NULL;
int r; int r;
...@@ -166,9 +165,6 @@ static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) ...@@ -166,9 +165,6 @@ static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id)
return IRQ_NONE; return IRQ_NONE;
} }
client = phy->i2c_dev;
dev_dbg(&client->dev, "IRQ\n");
if (phy->ndlc->hard_fault) if (phy->ndlc->hard_fault)
return IRQ_HANDLED; return IRQ_HANDLED;
......
...@@ -239,8 +239,6 @@ static void ndlc_t1_timeout(struct timer_list *t) ...@@ -239,8 +239,6 @@ static void ndlc_t1_timeout(struct timer_list *t)
{ {
struct llt_ndlc *ndlc = from_timer(ndlc, t, t1_timer); struct llt_ndlc *ndlc = from_timer(ndlc, t, t1_timer);
pr_debug("\n");
schedule_work(&ndlc->sm_work); schedule_work(&ndlc->sm_work);
} }
...@@ -248,8 +246,6 @@ static void ndlc_t2_timeout(struct timer_list *t) ...@@ -248,8 +246,6 @@ static void ndlc_t2_timeout(struct timer_list *t)
{ {
struct llt_ndlc *ndlc = from_timer(ndlc, t, t2_timer); struct llt_ndlc *ndlc = from_timer(ndlc, t, t2_timer);
pr_debug("\n");
schedule_work(&ndlc->sm_work); schedule_work(&ndlc->sm_work);
} }
......
...@@ -638,8 +638,6 @@ int st_nci_se_io(struct nci_dev *ndev, u32 se_idx, ...@@ -638,8 +638,6 @@ int st_nci_se_io(struct nci_dev *ndev, u32 se_idx,
{ {
struct st_nci_info *info = nci_get_drvdata(ndev); struct st_nci_info *info = nci_get_drvdata(ndev);
pr_debug("\n");
switch (se_idx) { switch (se_idx) {
case ST_NCI_ESE_HOST_ID: case ST_NCI_ESE_HOST_ID:
info->se_info.cb = cb; info->se_info.cb = cb;
...@@ -671,8 +669,6 @@ static void st_nci_se_wt_timeout(struct timer_list *t) ...@@ -671,8 +669,6 @@ static void st_nci_se_wt_timeout(struct timer_list *t)
u8 param = 0x01; u8 param = 0x01;
struct st_nci_info *info = from_timer(info, t, se_info.bwi_timer); struct st_nci_info *info = from_timer(info, t, se_info.bwi_timer);
pr_debug("\n");
info->se_info.bwi_active = false; info->se_info.bwi_active = false;
if (!info->se_info.xch_error) { if (!info->se_info.xch_error) {
...@@ -692,8 +688,6 @@ static void st_nci_se_activation_timeout(struct timer_list *t) ...@@ -692,8 +688,6 @@ static void st_nci_se_activation_timeout(struct timer_list *t)
struct st_nci_info *info = from_timer(info, t, struct st_nci_info *info = from_timer(info, t,
se_info.se_active_timer); se_info.se_active_timer);
pr_debug("\n");
info->se_info.se_active = false; info->se_info.se_active = false;
complete(&info->se_info.req_completion); complete(&info->se_info.req_completion);
......
...@@ -169,7 +169,6 @@ static int st_nci_spi_read(struct st_nci_spi_phy *phy, ...@@ -169,7 +169,6 @@ static int st_nci_spi_read(struct st_nci_spi_phy *phy,
static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id)
{ {
struct st_nci_spi_phy *phy = phy_id; struct st_nci_spi_phy *phy = phy_id;
struct spi_device *dev;
struct sk_buff *skb = NULL; struct sk_buff *skb = NULL;
int r; int r;
...@@ -178,9 +177,6 @@ static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id) ...@@ -178,9 +177,6 @@ static irqreturn_t st_nci_irq_thread_fn(int irq, void *phy_id)
return IRQ_NONE; return IRQ_NONE;
} }
dev = phy->spi_dev;
dev_dbg(&dev->dev, "IRQ\n");
if (phy->ndlc->hard_fault) if (phy->ndlc->hard_fault)
return IRQ_HANDLED; return IRQ_HANDLED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment