OSDN Git Service

net: ethernet: ti: cpts: correct debug for expired txq skb
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Mon, 12 Nov 2018 14:00:20 +0000 (16:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2018 00:29:59 +0000 (16:29 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpts.c

index b96b93c..dac4c52 100644 (file)
@@ -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);
                        dev_consume_skb_any(skb);
                }