mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
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>
This commit is contained in:
parent
9239079080
commit
179542a548
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ void ip_mc_inc_group(struct in_device *in_dev, __be32 addr)
|
||||||
atomic_set(&im->refcnt, 1);
|
atomic_set(&im->refcnt, 1);
|
||||||
spin_lock_init(&im->lock);
|
spin_lock_init(&im->lock);
|
||||||
#ifdef CONFIG_IP_MULTICAST
|
#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;
|
im->unsolicit_count = IGMP_Unsolicited_Report_Count;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue