summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_flow.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-12-02 18:00:35 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-08 20:53:41 -0500
commit2f8a2965da8f06800c8103643b05e0a7e5e6a898 (patch)
tree6ba9ff067fdc15cde37a242cb72241c92096349e /net/sched/cls_flow.c
parent6a659cd0616299e3444db701820b5a35ae054e0e (diff)
downloadlinux-stable-2f8a2965da8f06800c8103643b05e0a7e5e6a898.tar.gz
linux-stable-2f8a2965da8f06800c8103643b05e0a7e5e6a898.tar.bz2
linux-stable-2f8a2965da8f06800c8103643b05e0a7e5e6a898.zip
net_sched: cls_flow: remove duplicate assignments
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flow.c')
-rw-r--r--net/sched/cls_flow.c3
1 files changed, 0 insertions, 3 deletions
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;