diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-24 16:20:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-25 02:23:32 -0400 |
commit | e40f5c72347d535352b6631850a26b23a7f11eca (patch) | |
tree | 81e6160713e69e8fcc385246f39accd763657ce0 | |
parent | 56ec0fb10c9f8b35a2991871ea879840d1a0cbde (diff) |
net_sched: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &.
A simplified version of the Coccinelle semantic patch that makes this
change is as follows:
// <smpl>
@r@
identifier f;
@@
f(...) { ... }
@@
identifier r.f;
@@
- &f
+ f
// </smpl>
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/cls_tcindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index c721cd4a469f..3e9f76413b3b 100644 --- a/net/sched/cls_tcindex.c +++ b/net/sched/cls_tcindex.c | |||
@@ -420,7 +420,7 @@ static void tcindex_destroy(struct tcf_proto *tp) | |||
420 | pr_debug("tcindex_destroy(tp %p),p %p\n", tp, p); | 420 | pr_debug("tcindex_destroy(tp %p),p %p\n", tp, p); |
421 | walker.count = 0; | 421 | walker.count = 0; |
422 | walker.skip = 0; | 422 | walker.skip = 0; |
423 | walker.fn = &tcindex_destroy_element; | 423 | walker.fn = tcindex_destroy_element; |
424 | tcindex_walk(tp, &walker); | 424 | tcindex_walk(tp, &walker); |
425 | kfree(p->perfect); | 425 | kfree(p->perfect); |
426 | kfree(p->h); | 426 | kfree(p->h); |