]> git.sesse.net Git - vlc/blobdiff - src/misc/devices.c
p_root->p_probe: unused, remove
[vlc] / src / misc / devices.c
index 609786ef0fe6b96f3bd51d2e09f4177307783b92..e0f839d6055e6cd0dfe90100c453f12735617523 100644 (file)
 #include <vlc/intf.h>
 #include <vlc_devices.h>
 
+static intf_thread_t *p_probe_thread = NULL;
+
 void devices_ProbeCreate( vlc_object_t *p_this )
 {
     intf_thread_t * p_probe;
-    p_this->p_libvlc_global->p_probe = NULL;
 
     /* Allocate structure */
     p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF );
@@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this )
         return;
     }
 
-    p_this->p_libvlc_global->p_probe = p_probe;
+    p_probe_thread = p_probe;
 }
 
 #endif