From: Jiri Pirko Date: Tue, 2 Dec 2014 17:00:35 +0000 (+0100) Subject: net_sched: cls_flow: remove duplicate assignments X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f8a2965da8f06800c8103643b05e0a7e5e6a898;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git net_sched: cls_flow: remove duplicate assignments Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c index a6057394a207..819c23078812 100644 --- a/net/sched/cls_flow.c +++ b/net/sched/cls_flow.c @@ -426,10 +426,7 @@ static int flow_change(struct net *net, struct sk_buff *in_skb, goto err2; /* Copy fold into fnew */ - fnew->handle = fold->handle; - fnew->keymask = fold->keymask; fnew->tp = fold->tp; - fnew->handle = fold->handle; fnew->nkeys = fold->nkeys; fnew->keymask = fold->keymask;