[vlc-commits] sd: remove vlc_sd_StopAndDestroy() dead code
Rémi Denis-Courmont
git at videolan.org
Mon Nov 14 21:03:02 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 14 21:53:44 2016 +0200| [12b925b0c54eccd1fe1b9a60460eb6e55e4c0859] | committer: Rémi Denis-Courmont
sd: remove vlc_sd_StopAndDestroy() dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12b925b0c54eccd1fe1b9a60460eb6e55e4c0859
---
include/vlc_services_discovery.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/include/vlc_services_discovery.h b/include/vlc_services_discovery.h
index 7f00d22..50a3b8a 100644
--- a/include/vlc_services_discovery.h
+++ b/include/vlc_services_discovery.h
@@ -147,15 +147,6 @@ VLC_API bool vlc_sd_Start( services_discovery_t * );
VLC_API void vlc_sd_Stop( services_discovery_t * );
VLC_API void vlc_sd_Destroy( services_discovery_t * );
-/**
- * Helper to stop and destroy the Service Discovery
- */
-static inline void vlc_sd_StopAndDestroy( services_discovery_t * p_this )
-{
- vlc_sd_Stop( p_this );
- vlc_sd_Destroy( p_this );
-}
-
/* Read info from discovery object */
VLC_API char * services_discovery_GetLocalizedName( services_discovery_t * p_this ) VLC_USED;
More information about the vlc-commits
mailing list