From: Arushi Singhal Date: Mon, 11 Sep 2017 18:20:00 +0000 (+0200) Subject: netfilter: Remove exceptional & on function name X-Git-Tag: v6.33~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ae0ace1fa483e017279a2d4c544f7de75ad275b;p=ipset netfilter: Remove exceptional & on function name Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: Arushi Singhal Signed-off-by: Pablo Neira Ayuso --- diff --git a/kernel/net/netfilter/ipset/ip_set_core.c b/kernel/net/netfilter/ipset/ip_set_core.c index de43aa1..fbb8df1 100644 --- a/kernel/net/netfilter/ipset/ip_set_core.c +++ b/kernel/net/netfilter/ipset/ip_set_core.c @@ -2043,7 +2043,7 @@ static struct nf_sockopt_ops so_set __read_mostly = { .pf = PF_INET, .get_optmin = SO_IP_SET, .get_optmax = SO_IP_SET + 1, - .get = &ip_set_sockfn_get, + .get = ip_set_sockfn_get, .owner = THIS_MODULE, };