[net-next,1/4] net: ethernet: ti: cpts: correct debug for expired txq skb
diff mbox series

Message ID 20181112140023.12407-2-ivan.khoronzhuk@linaro.org
State New
Headers show
  • net: ethernet: ti: cpsw: allow vlan h/w timestamping
Related show

Commit Message

Ivan Khoronzhuk Nov. 12, 2018, 2 p.m. UTC
The msgtype and seqid that is smth that belongs to event for
comparison but not for staled txq skb.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
 drivers/net/ethernet/ti/cpts.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff mbox series

diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index b96b93c686bf..dac4c528a1ff 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -119,9 +119,7 @@  static bool cpts_match_tx_ts(struct cpts *cpts, struct cpts_event *event)
 		if (time_after(jiffies, skb_cb->tmo)) {
 			/* timeout any expired skbs over 1s */
-			dev_dbg(cpts->dev,
-				"expiring tx timestamp mtype %u seqid %04x\n",
-				mtype, seqid);
+			dev_dbg(cpts->dev, "expiring tx timestamp from txq\n");
 			__skb_unlink(skb, &cpts->txq);