mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[NETFILTER]: more sparse fixes
Some lock annotations, and make initializers static. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
2f0d2f1039
commit
f4f6fb714f
2 changed files with 4 additions and 2 deletions
|
|
@ -148,12 +148,12 @@ static const struct nf_nat_protocol gre = {
|
|||
#endif
|
||||
};
|
||||
|
||||
int __init nf_nat_proto_gre_init(void)
|
||||
static int __init nf_nat_proto_gre_init(void)
|
||||
{
|
||||
return nf_nat_protocol_register(&gre);
|
||||
}
|
||||
|
||||
void __exit nf_nat_proto_gre_fini(void)
|
||||
static void __exit nf_nat_proto_gre_fini(void)
|
||||
{
|
||||
nf_nat_protocol_unregister(&gre);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue