Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e2b7b05 authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

net: core: fix compilation warning for uninitialized variable



It is possible that the 'tail' variable is used without initialization.
This change fixes uninitialized variable usage.

Change-Id: Idbd7d52797af2eeffcece19249055d5099a7fdb1
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent b57c24a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2722,7 +2722,7 @@ out_null:

struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev)
{
	struct sk_buff *next, *head = NULL, *tail;
	struct sk_buff *next, *head = NULL, *tail = NULL;

	for (; skb != NULL; skb = next) {
		next = skb->next;