diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-25 01:48:44 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-24 23:23:31 -0700 |
commit | 179542a548f37e1366f7afb7a088c965a2adf7d0 (patch) | |
tree | 0f8512d93e9fe62732602e6db5e194ab4268be3b /net/ipv4/igmp.c | |
parent | 9239079080fe364189d13020441c46f9f0e0071d (diff) | |
download | linux-179542a548f37e1366f7afb7a088c965a2adf7d0.tar.gz linux-179542a548f37e1366f7afb7a088c965a2adf7d0.tar.bz2 linux-179542a548f37e1366f7afb7a088c965a2adf7d0.zip |
igmp: 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>
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r-- | net/ipv4/igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index db710b059bab..f10eab462282 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -1321,7 +1321,7 @@ void ip_mc_inc_group(struct in_device *in_dev, __be32 addr) atomic_set(&im->refcnt, 1); spin_lock_init(&im->lock); #ifdef CONFIG_IP_MULTICAST - setup_timer(&im->timer, &igmp_timer_expire, (unsigned long)im); + setup_timer(&im->timer, igmp_timer_expire, (unsigned long)im); im->unsolicit_count = IGMP_Unsolicited_Report_Count; #endif |