- first step in getting rid of dependency pointers:
[platform/upstream/libsolv.git] / src / pool.c
index 495c3e7..5f1d844 100644 (file)
@@ -513,29 +513,4 @@ pool_addrelproviders(Pool *pool, Id d)
   return pool->whatprovidesdata + pool->whatprovides[d];
 }
 
-
-/*
- * return source of solvable
- * or NULL
- */
-
-Source *
-pool_source(Pool *pool, Solvable *s)
-{
-  int i;
-  Source *source;
-  int off = s - pool->solvables;
-
-  for (i = 0; i < pool->nsources; i++)
-    {
-      source = pool->sources[i];
-      if (off >= source->start
-         && off < source->start+source->nsolvables)
-      {
-       return source;
-      }
-    }
-  return NULL;
-}
-
 // EOF