From 0606ae65ab1fbe731395bc6d1b1451809378e95b Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 17 Oct 2013 12:00:29 +0200 Subject: no longer ask the nscallback for pruduct buddies --- src/linkedpkg.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/linkedpkg.c b/src/linkedpkg.c index 445d315..d8ecc71 100644 --- a/src/linkedpkg.c +++ b/src/linkedpkg.c @@ -97,25 +97,9 @@ find_application_link(Pool *pool, Solvable *s, Id *reqidp, Queue *qr, Id *prvidp void find_product_link(Pool *pool, Solvable *s, Id *reqidp, Queue *qr, Id *prvidp, Queue *qp) { - Id n = s - pool->solvables; Id p, pp, namerelid; char *str; - if (pool->nscallback) - { - Id buddy = pool->nscallback(pool, pool->nscallbackdata, NAMESPACE_PRODUCTBUDDY, n); - if (buddy > 0 && buddy != SYSTEMSOLVABLE && buddy != n && buddy < pool->nsolvables) - { - if (reqidp) - *reqidp = solvable_selfprovidedep(pool->solvables + buddy); - queue_push(qr, buddy); - if (prvidp) - *prvidp = solvable_selfprovidedep(s); - if (qp) - queue_push(qp, n); - return; - } - } /* search for project requires */ namerelid = 0; if (s->requires) -- cgit v1.2.3