summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-11-27 18:25:58 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:30:43 +0100
commit4e9b82693542003b028c8494e9e3c49615b91ce7 (patch)
tree955620d0b859b3e5817faafcbe7de6b355bb7d05 /net/netlink
parent[NET]: Add documentation for TFRC structures (diff)
downloadlinux-4e9b82693542003b028c8494e9e3c49615b91ce7.tar.xz
linux-4e9b82693542003b028c8494e9e3c49615b91ce7.zip
[NETLINK]: Remove unused dst_pid field in netlink_skb_parms
The destination PID is passed directly to netlink_unicast() respectively netlink_multicast(). Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r--net/netlink/af_netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index f61d81b3c61c..3baafb10f8f3 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -1153,7 +1153,6 @@ static int netlink_sendmsg(struct kiocb *kiocb, struct socket *sock,
goto out;
NETLINK_CB(skb).pid = nlk->pid;
- NETLINK_CB(skb).dst_pid = dst_pid;
NETLINK_CB(skb).dst_group = dst_group;
NETLINK_CB(skb).loginuid = audit_get_loginuid(current->audit_context);
selinux_get_task_sid(current, &(NETLINK_CB(skb).sid));