1
0
Fork 0

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>

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>
wifi-calibration
Himangi Saraogi 2014-07-25 01:49:37 +05:30 committed by David S. Miller
parent 179542a548
commit 56ec0fb10c
1 changed files with 1 additions and 1 deletions

View File

@ -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: