diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2016-09-18 08:45:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-19 22:04:14 -0400 |
commit | 5a7a5555a362f60350668cd124df9a396f546c61 (patch) | |
tree | 81c098fab52f338cedd8ba5d89c786ce3cd128c5 /net/sched/cls_route.c | |
parent | f71b109f1730902b73f70d78764d8a41265080dd (diff) |
net sched: stylistic cleanups
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_route.c')
-rw-r--r-- | net/sched/cls_route.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c index c91e65d81a48..a4ce39b19be0 100644 --- a/net/sched/cls_route.c +++ b/net/sched/cls_route.c | |||
@@ -268,8 +268,7 @@ static int route4_init(struct tcf_proto *tp) | |||
268 | return 0; | 268 | return 0; |
269 | } | 269 | } |
270 | 270 | ||
271 | static void | 271 | static void route4_delete_filter(struct rcu_head *head) |
272 | route4_delete_filter(struct rcu_head *head) | ||
273 | { | 272 | { |
274 | struct route4_filter *f = container_of(head, struct route4_filter, rcu); | 273 | struct route4_filter *f = container_of(head, struct route4_filter, rcu); |
275 | 274 | ||
@@ -474,10 +473,8 @@ errout: | |||
474 | } | 473 | } |
475 | 474 | ||
476 | static int route4_change(struct net *net, struct sk_buff *in_skb, | 475 | static int route4_change(struct net *net, struct sk_buff *in_skb, |
477 | struct tcf_proto *tp, unsigned long base, | 476 | struct tcf_proto *tp, unsigned long base, u32 handle, |
478 | u32 handle, | 477 | struct nlattr **tca, unsigned long *arg, bool ovr) |
479 | struct nlattr **tca, | ||
480 | unsigned long *arg, bool ovr) | ||
481 | { | 478 | { |
482 | struct route4_head *head = rtnl_dereference(tp->root); | 479 | struct route4_head *head = rtnl_dereference(tp->root); |
483 | struct route4_filter __rcu **fp; | 480 | struct route4_filter __rcu **fp; |