aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-08-09 19:22:33 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-10 20:27:38 -0400
commit0a440f8f4f75598235a71a365fb0dbe0056ad75c (patch)
tree2137f8dd71f63f0be055aa2d794dda2278617726 /drivers/net/ethernet/ti
parent27e9e10391259cbe2e52d6f0ac5b16b1d898d901 (diff)
net: ethernet: ti: cpsw: remove intr dbg msg from poll handlers
At poll handler no possibility to figure out which network device is handling packets, as cpdma channels are common for both network devices in dual_emac mode. Currently, the messages are printed only for one device, in fact, there is two. This print msg is incorrect and seems is not very useful, so drop it from poll handler. Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r--drivers/net/ethernet/ti/cpsw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 8972bf6870ed..21cf3671c79e 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -793,9 +793,6 @@ static int cpsw_tx_poll(struct napi_struct *napi_tx, int budget)
793 } 793 }
794 } 794 }
795 795
796 if (num_tx)
797 cpsw_dbg(priv, intr, "poll %d tx pkts\n", num_tx);
798
799 return num_tx; 796 return num_tx;
800} 797}
801 798
@@ -814,9 +811,6 @@ static int cpsw_rx_poll(struct napi_struct *napi_rx, int budget)
814 } 811 }
815 } 812 }
816 813
817 if (num_rx)
818 cpsw_dbg(priv, intr, "poll %d rx pkts\n", num_rx);
819
820 return num_rx; 814 return num_rx;
821} 815}
822 816