diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/rtnetlink.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 9bed7569ce3f..193fd8637f9f 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -462,11 +462,6 @@ void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change) | |||
462 | netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_KERNEL); | 462 | netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_KERNEL); |
463 | } | 463 | } |
464 | 464 | ||
465 | static int rtnetlink_done(struct netlink_callback *cb) | ||
466 | { | ||
467 | return 0; | ||
468 | } | ||
469 | |||
470 | /* Protected by RTNL sempahore. */ | 465 | /* Protected by RTNL sempahore. */ |
471 | static struct rtattr **rta_buf; | 466 | static struct rtattr **rta_buf; |
472 | static int rtattr_max; | 467 | static int rtattr_max; |
@@ -533,8 +528,7 @@ rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, int *errp) | |||
533 | goto err_inval; | 528 | goto err_inval; |
534 | 529 | ||
535 | if ((*errp = netlink_dump_start(rtnl, skb, nlh, | 530 | if ((*errp = netlink_dump_start(rtnl, skb, nlh, |
536 | link->dumpit, | 531 | link->dumpit, NULL)) != 0) { |
537 | rtnetlink_done)) != 0) { | ||
538 | return -1; | 532 | return -1; |
539 | } | 533 | } |
540 | rlen = NLMSG_ALIGN(nlh->nlmsg_len); | 534 | rlen = NLMSG_ALIGN(nlh->nlmsg_len); |