From: Mirsal Ennaime Date: Sun, 4 Jan 2009 14:38:44 +0000 (+0100) Subject: UPnP services discovery: Remove a useless function X-Git-Tag: 1.0.0-pre1~1551 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c31a81335ee64828c956b611840ad7fdffc0c0af;p=vlc UPnP services discovery: Remove a useless function --- diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp index 1e1b4f8af9..645fb04839 100644 --- a/modules/services_discovery/upnp_intel.cpp +++ b/modules/services_discovery/upnp_intel.cpp @@ -254,7 +254,6 @@ private: static int Open( vlc_object_t* ); static void Close( vlc_object_t* ); -static void Run( services_discovery_t *p_sd ); // Module descriptor @@ -334,20 +333,6 @@ static void Close( vlc_object_t *p_this ) free( p_sd->p_sys ); } -static void Run( services_discovery_t* p_sd ) -{ - - msg_Dbg( p_sd, "UPnP discovery started" ); - while( vlc_object_alive (p_sd) ) - { - msleep( 500 ); - } - - msg_Dbg( p_sd, "UPnP discovery stopped" ); - -} - - // XML utility functions: // Returns the value of a child element, or 0 on error