registry: remove unused function
authorBenjamin Otte <otte@redhat.com>
Tue, 2 Mar 2010 20:07:33 +0000 (21:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 10 Mar 2010 14:24:11 +0000 (15:24 +0100)
Actually, there was two functions with the same name, but only one was
used.

https://bugzilla.gnome.org/show_bug.cgi?id=611692

gst/gstregistrybinary.c

index e7c41cf..1c20414 100644 (file)
@@ -106,18 +106,6 @@ gst_registry_binary_cache_init (GstRegistry * registry, const char *location)
   return cache;
 }
 
-static int
-gst_registry_binary_cache_write (BinaryRegistryCache * cache,
-    unsigned long offset, const void *data, int length)
-{
-  cache->len = MAX (offset + length, cache->len);
-  cache->mem = g_realloc (cache->mem, cache->len);
-
-  memcpy (cache->mem + offset, data, length);
-
-  return length;
-}
-
 static gboolean
 gst_registry_binary_cache_finish (BinaryRegistryCache * cache, gboolean success)
 {