summaryrefslogtreecommitdiffstats
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
parent6a659cd0616299e3444db701820b5a35ae054e0e (diff)
downloadop-kernel-dev-2f8a2965da8f06800c8103643b05e0a7e5e6a898.zip
op-kernel-dev-2f8a2965da8f06800c8103643b05e0a7e5e6a898.tar.gz
net_sched: cls_flow: remove duplicate assignments
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 a605739..819c230 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;
OpenPOWER on IntegriCloud