From fe41cd6050f39ab989cd8183b7755e8d2208e174 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 21 Sep 2008 13:09:51 +0300 Subject: [PATCH] Remove the vlc_list_find/module hack --- src/misc/objects.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/misc/objects.c b/src/misc/objects.c index 52b766e0f3..af215e2be1 100644 --- a/src/misc/objects.c +++ b/src/misc/objects.c @@ -817,12 +817,6 @@ vlc_list_t * __vlc_list_find( vlc_object_t *p_this, int i_type, int i_mode ) switch( i_mode & 0x000f ) { case FIND_ANYWHERE: - /* Modules should probably not be object, and the module should perhaps - * not be shared across LibVLC instances. In the mean time, this ugly - * hack is brought to you by Courmisch. */ - if (i_type == VLC_OBJECT_MODULE) - return vlc_list_find ((vlc_object_t *)p_module_bank, - i_type, FIND_CHILD); return vlc_list_find (p_this->p_libvlc, i_type, FIND_CHILD); case FIND_CHILD: -- 2.20.1