]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netlink/af_netlink.c
[NET]: Forget the zero_it argument of sk_alloc()
[mirror_ubuntu-bionic-kernel.git] / net / netlink / af_netlink.c
index 4f994c0fb3f80dcc4542a4e7a17475637601b690..2601712555767b34d49fb694a5adbb12e734a44d 100644 (file)
@@ -396,7 +396,7 @@ static int __netlink_create(struct net *net, struct socket *sock,
 
        sock->ops = &netlink_ops;
 
-       sk = sk_alloc(net, PF_NETLINK, GFP_KERNEL, &netlink_proto, 1);
+       sk = sk_alloc(net, PF_NETLINK, GFP_KERNEL, &netlink_proto);
        if (!sk)
                return -ENOMEM;