neigh: remove exceptional & on function name
Subsystems (3)
PATCH 1/1 neigh: 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>
--- net/ipv6/ndisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/ndisc.c +1 -1
@@ -1768,7 +1768,7 @@ int __init ndisc_init(void)#ifdef CONFIG_SYSCTL err =neigh_sysctl_register (NULL , &nd_tbl.parms, - &ndisc_ifinfo_sysctl_change); + ndisc_ifinfo_sysctl_change);if (err) goto out_unregister_pernet; out:
Signature · 1 line
1.9.1
David Miller
maintainerFrom: Himangi Saraogi <[email protected]>
Date: Fri, 25 Jul 2014 01:49:37 +0530
Quoted 4 lines
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:
...
Quoted 2 lines
Signed-off-by Himangi Saraogi <[email protected]>Acked-by Julia Lawall <[email protected]>
From: Himangi Saraogi <[email protected]>
Date: Fri, 25 Jul 2014 01:49:37 +0530
Quoted 4 lines
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:
...
Quoted 2 lines
Signed-off-by Himangi Saraogi <[email protected]>Acked-by Julia Lawall <[email protected]>
Applied.