From 0ce6dd21562792056b6722949585298639322b58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Wed, 11 May 2022 17:53:50 +0300
Subject: [PATCH] lua: remove dead code

---
 modules/lua/intf.c | 5 -----
 modules/lua/vlc.h  | 1 -
 2 files changed, 6 deletions(-)

diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index 6595ba058b35..cb48b509199a 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -424,11 +424,6 @@ int Open_LuaHTTP( vlc_object_t *p_this )
     return Start_LuaIntf( p_this, "http" );
 }
 
-int Open_LuaCLI( vlc_object_t *p_this )
-{
-    return Start_LuaIntf( p_this, "cli" );
-}
-
 int Open_LuaTelnet( vlc_object_t *p_this )
 {
     char *pw = var_CreateGetNonEmptyString( p_this, "telnet-password" );
diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
index e6dea213d11c..63f107c5dc11 100644
--- a/modules/lua/vlc.h
+++ b/modules/lua/vlc.h
@@ -80,7 +80,6 @@ void Close_LuaPlaylist( vlc_object_t * );
 int Open_LuaIntf( vlc_object_t * );
 void Close_LuaIntf( vlc_object_t * );
 int Open_LuaHTTP( vlc_object_t * );
-int Open_LuaCLI( vlc_object_t * );
 int Open_LuaTelnet( vlc_object_t * );
 
 
-- 
GitLab