Commit ce9f3f31 authored by Jan Beulich's avatar Jan Beulich Committed by Pablo Neira Ayuso

netfilter: properly annotate ipv4_netfilter_{init,fini}()

Despite being just a few bytes of code, they should still have proper
annotations.
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 1c15b677
...@@ -188,12 +188,12 @@ static const struct nf_afinfo nf_ip_afinfo = { ...@@ -188,12 +188,12 @@ static const struct nf_afinfo nf_ip_afinfo = {
.route_key_size = sizeof(struct ip_rt_info), .route_key_size = sizeof(struct ip_rt_info),
}; };
static int ipv4_netfilter_init(void) static int __init ipv4_netfilter_init(void)
{ {
return nf_register_afinfo(&nf_ip_afinfo); return nf_register_afinfo(&nf_ip_afinfo);
} }
static void ipv4_netfilter_fini(void) static void __exit ipv4_netfilter_fini(void)
{ {
nf_unregister_afinfo(&nf_ip_afinfo); nf_unregister_afinfo(&nf_ip_afinfo);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment