[NETLINK]: Remove unused groups member from struct netlink_skb_parms
authorPatrick McHardy <kaber@trash.net>
Mon, 15 Aug 2005 02:26:34 +0000 (19:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:00:39 +0000 (16:00 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
net/ipv4/fib_frontend.c
net/netlink/af_netlink.c

index d5e09bcd80f95e86df3691fe07dfa2b0c450fd1e..eab51f9c9c86525e9dbf099189fd470af2c733b8 100644 (file)
@@ -106,7 +106,6 @@ struct netlink_skb_parms
 {
        struct ucred            creds;          /* Skb credentials      */
        __u32                   pid;
-       __u32                   groups;
        __u32                   dst_pid;
        __u32                   dst_groups;
        kernel_cap_t            eff_cap;
index b5e2f1550c91cc08b4b71cdb14d699f188f678b2..75d03e37b9a8a99a7360acd35dd79c3b7e4a9c89 100644 (file)
@@ -558,7 +558,6 @@ static void nl_fib_input(struct sock *sk, int len)
        nl_fib_lookup(frn, tb);
        
        pid = nlh->nlmsg_pid;           /*pid of sending process */
-       NETLINK_CB(skb).groups = 0;     /* not in mcast group */
        NETLINK_CB(skb).pid = 0;         /* from kernel */
        NETLINK_CB(skb).dst_pid = pid;
        NETLINK_CB(skb).dst_groups = 0;  /* unicast */
index 5d487cd69c8c4918e1e3b19489f04a892316cff6..7b7b45a195979dc46efee171bc7a322275023ecc 100644 (file)
@@ -950,7 +950,6 @@ static int netlink_sendmsg(struct kiocb *kiocb, struct socket *sock,
                goto out;
 
        NETLINK_CB(skb).pid     = nlk->pid;
-       NETLINK_CB(skb).groups  = nlk->groups;
        NETLINK_CB(skb).dst_pid = dst_pid;
        NETLINK_CB(skb).dst_groups = dst_groups;
        NETLINK_CB(skb).loginuid = audit_get_loginuid(current->audit_context);