]> granicus.if.org Git - libvpx/commitdiff
vp[89]_dx_iface: delete unused function
authorJames Zern <jzern@google.com>
Fri, 12 Jul 2013 06:03:24 +0000 (23:03 -0700)
committerJames Zern <jzern@google.com>
Fri, 12 Jul 2013 06:03:24 +0000 (23:03 -0700)
static mmap_lkup

Change-Id: I24aeac1eca8453e28d58bc06925e58efc228a0a6

vp8/vp8_dx_iface.c
vp9/vp9_dx_iface.c

index 9a5eeefc74fca71762c69cf508a711ea4171616c..b552b846a5b24ce9336b21503ac25a9ec19dce1f 100644 (file)
@@ -110,16 +110,6 @@ static void vp8_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap)
     }
 }
 
-static void *mmap_lkup(vpx_codec_alg_priv_t *ctx, unsigned int id)
-{
-    int i;
-
-    for (i = 0; i < NELEMENTS(ctx->mmaps); i++)
-        if (ctx->mmaps[i].id == id)
-            return ctx->mmaps[i].base;
-
-    return NULL;
-}
 static void vp8_finalize_mmaps(vpx_codec_alg_priv_t *ctx)
 {
     /* nothing to clean up */
index f183dabedbdbc61f3a0d9bac07544ad8c7bb52cf..2c83f4a36093e5fb898c08e611d65692a5e1baf8 100644 (file)
@@ -92,15 +92,6 @@ static void vp8_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) {
   }
 }
 
-static void *mmap_lkup(vpx_codec_alg_priv_t *ctx, unsigned int id) {
-  int i;
-
-  for (i = 0; i < NELEMENTS(ctx->mmaps); i++)
-    if (ctx->mmaps[i].id == id)
-      return ctx->mmaps[i].base;
-
-  return NULL;
-}
 static void vp8_finalize_mmaps(vpx_codec_alg_priv_t *ctx) {
   /* nothing to clean up */
 }