diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-25 00:19:37 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-25 10:23:31 +0400 |
commit | 56ec0fb10c9f8b35a2991871ea879840d1a0cbde (patch) | |
tree | 678ed921d2a52718714f012880d0a44cbf57ceb4 /net/ipv6 | |
parent | 179542a548f37e1366f7afb7a088c965a2adf7d0 (diff) | |
download | linux-56ec0fb10c9f8b35a2991871ea879840d1a0cbde.tar.xz |
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index b7ece278dd49..339078f95d1b 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -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: |