diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2016-09-18 14:45:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-20 04:04:14 +0200 |
commit | 5a7a5555a362f60350668cd124df9a396f546c61 (patch) | |
tree | 81c098fab52f338cedd8ba5d89c786ce3cd128c5 /net/sched/cls_route.c | |
parent | net sched actions police: peg drop stats for conforming traffic (diff) | |
download | linux-5a7a5555a362f60350668cd124df9a396f546c61.tar.xz linux-5a7a5555a362f60350668cd124df9a396f546c61.zip |
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) return 0; } -static void -route4_delete_filter(struct rcu_head *head) +static void route4_delete_filter(struct rcu_head *head) { struct route4_filter *f = container_of(head, struct route4_filter, rcu); @@ -474,10 +473,8 @@ errout: } static int route4_change(struct net *net, struct sk_buff *in_skb, - struct tcf_proto *tp, unsigned long base, - u32 handle, - struct nlattr **tca, - unsigned long *arg, bool ovr) + struct tcf_proto *tp, unsigned long base, u32 handle, + struct nlattr **tca, unsigned long *arg, bool ovr) { struct route4_head *head = rtnl_dereference(tp->root); struct route4_filter __rcu **fp; |