aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ll_map.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-12-28 10:37:12 -0800
committerStephen Hemminger <shemminger@vyatta.com>2011-12-28 10:37:12 -0800
commitcd70f3f522e04b4d2fa80ae10292379bf223a53b (patch)
tree2d4077b0d1c7c6505bd0913bced13e42159afd87 /lib/ll_map.c
parentd060de7f8da283fcd410b16f687cd6b33382c316 (diff)
downloadplatform_external_iproute2-cd70f3f522e04b4d2fa80ae10292379bf223a53b.tar.gz
platform_external_iproute2-cd70f3f522e04b4d2fa80ae10292379bf223a53b.tar.bz2
platform_external_iproute2-cd70f3f522e04b4d2fa80ae10292379bf223a53b.zip
libnetlink: remove unused junk callback
Both rtnl_talk and rtnl_dump had a callback for handling portions of netlink message that do not match the correct pid or seq. But this callback was never used by any part of iproute2 so remove it.
Diffstat (limited to 'lib/ll_map.c')
-rw-r--r--lib/ll_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ll_map.c b/lib/ll_map.c
index d3cde225..1ca781e9 100644
--- a/lib/ll_map.c
+++ b/lib/ll_map.c
@@ -204,7 +204,7 @@ int ll_init_map(struct rtnl_handle *rth)
exit(1);
}
- if (rtnl_dump_filter(rth, ll_remember_index, NULL, NULL, NULL) < 0) {
+ if (rtnl_dump_filter(rth, ll_remember_index, NULL) < 0) {
fprintf(stderr, "Dump terminated\n");
exit(1);
}