aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-11-27 12:25:58 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:30:43 -0500
commit4e9b82693542003b028c8494e9e3c49615b91ce7 (patch)
tree955620d0b859b3e5817faafcbe7de6b355bb7d05 /net/decnet
parentd61c167dd0797a16584f7a922dd5d50efad1d28a (diff)
[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/decnet')
-rw-r--r--net/decnet/dn_route.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index f759d6f422ea..4eb985236aee 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -1592,8 +1592,6 @@ int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg)
1592 if (rtm->rtm_flags & RTM_F_NOTIFY) 1592 if (rtm->rtm_flags & RTM_F_NOTIFY)
1593 rt->rt_flags |= RTCF_NOTIFY; 1593 rt->rt_flags |= RTCF_NOTIFY;
1594 1594
1595 NETLINK_CB(skb).dst_pid = NETLINK_CB(in_skb).pid;
1596
1597 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); 1595 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0);
1598 1596
1599 if (err == 0) 1597 if (err == 0)