net_sched: cls_flow: remove duplicate assignments
authorJiri Pirko <jiri@resnulli.us>
Tue, 2 Dec 2014 17:00:35 +0000 (18:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:53:41 +0000 (20:53 -0500)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flow.c

index a6057394a2073b75163a09222c3b2d82ca68c8e9..819c23078812bbfdc6fabe81331abfbd2700af09 100644 (file)
@@ -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;