input: remove unused function
authorThomas Guillem <thomas@gllm.fr>
Fri, 13 Jul 2018 07:29:17 +0000 (09:29 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 13 Jul 2018 07:34:31 +0000 (09:34 +0200)
src/input/var.c

index c35bd40..ecab701 100644 (file)
@@ -86,7 +86,6 @@ typedef struct
 } vlc_input_callback_t;
 
 static void InputAddCallbacks( input_thread_t *, const vlc_input_callback_t * );
-static void InputDelCallbacks( input_thread_t *, const vlc_input_callback_t * );
 
 #ifdef CALLBACK /* For windows */
 # undef CALLBACK /* We don't care of this one here */
@@ -781,16 +780,6 @@ static void InputAddCallbacks( input_thread_t *p_input,
                          p_callbacks[i].callback, NULL );
 }
 
-static void InputDelCallbacks( input_thread_t *p_input,
-                               const vlc_input_callback_t *p_callbacks )
-{
-    int i;
-    for( i = 0; p_callbacks[i].psz_name != NULL; i++ )
-        var_DelCallback( p_input,
-                         p_callbacks[i].psz_name,
-                         p_callbacks[i].callback, NULL );
-}
-
 /*****************************************************************************
  * All Callbacks:
  *****************************************************************************/