Commit e40f5c72 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by David S. Miller

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: default avatarHimangi Saraogi <himangi774@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56ec0fb1
...@@ -420,7 +420,7 @@ static void tcindex_destroy(struct tcf_proto *tp) ...@@ -420,7 +420,7 @@ static void tcindex_destroy(struct tcf_proto *tp)
pr_debug("tcindex_destroy(tp %p),p %p\n", tp, p); pr_debug("tcindex_destroy(tp %p),p %p\n", tp, p);
walker.count = 0; walker.count = 0;
walker.skip = 0; walker.skip = 0;
walker.fn = &tcindex_destroy_element; walker.fn = tcindex_destroy_element;
tcindex_walk(tp, &walker); tcindex_walk(tp, &walker);
kfree(p->perfect); kfree(p->perfect);
kfree(p->h); kfree(p->h);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment