]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/netfilter/ipvs/ip_vs_ctl.c
genetlink: only pass array to genl_register_family_with_ops()
[karo-tx-linux.git] / net / netfilter / ipvs / ip_vs_ctl.c
index fc8a04ed88547fc033a1b92179aa056779bb767a..393498704691df817d9d9f48f30fbc8cd287a04d 100644 (file)
@@ -3666,7 +3666,7 @@ static const struct genl_ops ip_vs_genl_ops[] __read_mostly = {
 static int __init ip_vs_genl_register(void)
 {
        return genl_register_family_with_ops(&ip_vs_genl_family,
-               ip_vs_genl_ops, ARRAY_SIZE(ip_vs_genl_ops));
+                                            ip_vs_genl_ops);
 }
 
 static void ip_vs_genl_unregister(void)