From: Himangi Saraogi Date: Thu, 24 Jul 2014 20:20:41 +0000 (+0530) Subject: net_sched: remove exceptional & on function name X-Git-Tag: v3.17-rc1~106^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e40f5c72347d535352b6631850a26b23a7f11eca;p=platform%2Fkernel%2Flinux-exynos.git 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: // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c index c721cd4..3e9f764 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) pr_debug("tcindex_destroy(tp %p),p %p\n", tp, p); walker.count = 0; walker.skip = 0; - walker.fn = &tcindex_destroy_element; + walker.fn = tcindex_destroy_element; tcindex_walk(tp, &walker); kfree(p->perfect); kfree(p->h);