can: j1939: j1939_session_completed(): use consistent name se_skb for 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>
This commit is contained in:
parent
641ba6ded2
commit
7ac56e40d0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue