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

Commit c468efe2 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

net: Remove superfluous setting of key_basic



key_basic is set twice in __skb_flow_dissect which seems unnecessary.
Remove second one.

Acked-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarTom Herbert <tom@herbertland.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 730fc437
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -343,12 +343,6 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
		break;
	}

	/* It is ensured by skb_flow_dissector_init() that basic key will
	 * be always present.
	 */
	key_basic = skb_flow_dissector_target(flow_dissector,
					      FLOW_DISSECTOR_KEY_BASIC,
					      target_container);
	key_basic->n_proto = proto;
	key_basic->ip_proto = ip_proto;
	key_basic->thoff = (u16) nhoff;