Skip to content

Commit

Permalink
can: j1939: j1939_session_completed(): use consistent name se_skb for…
Browse files Browse the repository at this point in the history
… the session skb

This patch changes the name of the "skb" variable in
j1939_session_completed() to "se_skb" as it's the session skb. The
same name is used in other functions for the session skb.

Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20210616102811.2449426-4-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Jul 25, 2021
1 parent 641ba6d commit 7ac56e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions net/can/j1939/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,13 +1191,13 @@ static enum hrtimer_restart j1939_tp_txtimer(struct hrtimer *hrtimer)

static void j1939_session_completed(struct j1939_session *session)
{
struct sk_buff *skb;
struct sk_buff *se_skb;

if (!session->transmission) {
skb = j1939_session_skb_get(session);
se_skb = j1939_session_skb_get(session);
/* distribute among j1939 receivers */
j1939_sk_recv(session->priv, skb);
consume_skb(skb);
j1939_sk_recv(session->priv, se_skb);
consume_skb(se_skb);
}

j1939_session_deactivate_activate_next(session);
Expand Down

0 comments on commit 7ac56e4

Please sign in to comment.