diff options
author | Thomas Graf <tgraf@redhat.com> | 2011-09-13 23:16:09 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@redhat.com> | 2011-09-13 23:16:09 +0200 |
commit | 6d93b831dd6a8e4720ffcd3e3566ba516c0f44d4 (patch) | |
tree | 0d52ac5756c11daf1517d3548c392803c76ba14f | |
parent | b50195c691dc30fd3240a3601596133f178d2d79 (diff) | |
download | libnl-6d93b831dd6a8e4720ffcd3e3566ba516c0f44d4.tar.gz |
route: Remove dead link_cache variable
-rw-r--r-- | lib/route/route_obj.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/route/route_obj.c b/lib/route/route_obj.c index 3d208b4..834cb91 100644 --- a/lib/route/route_obj.c +++ b/lib/route/route_obj.c @@ -125,12 +125,9 @@ static int route_clone(struct nl_object *_dst, struct nl_object *_src) static void route_dump_line(struct nl_object *a, struct nl_dump_params *p) { struct rtnl_route *r = (struct rtnl_route *) a; - struct nl_cache *link_cache; int cache = 0, flags; char buf[64]; - link_cache = nl_cache_mngt_require("route/link"); - if (r->rt_flags & RTM_F_CLONED) cache = 1; |