We already get all needed information from netdev_alert. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- net/can/j1939/transport.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/can/j1939/transport.c b/net/can/j1939/transport.c index 768fdf0877ee..e0a324ffb19a 100644 --- a/net/can/j1939/transport.c +++ b/net/can/j1939/transport.c @@ -701,8 +701,7 @@ static enum hrtimer_restart j1939_tp_rxtimer(struct hrtimer *hrtimer) rxtimer); struct j1939_priv *priv = session->priv; - netdev_alert(priv->ndev, "%s: timeout on %i\n", __func__, - can_skb_prv(session->skb)->ifindex); + netdev_alert(priv->ndev, "%s: timeout\n", __func__); j1939_session_txtimer_cancel(session); j1939_session_cancel(session, J1939_XTP_ABORT_TIMEOUT); j1939_session_put(session); -- 2.19.1