diff mbox

[7/9] daemon/rpc_samr: drop unused function rpc_samr_remove_domain_entry()

Message ID 20220307013344.29064-8-ematsumiya@suse.de
State New
Headers show

Commit Message

Enzo Matsumiya March 7, 2022, 1:33 a.m. UTC
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 daemon/rpc_samr.c | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox

Patch

diff --git a/daemon/rpc_samr.c b/daemon/rpc_samr.c
index 396e38f58013..3e4b2d5dc95b 100644
--- a/daemon/rpc_samr.c
+++ b/daemon/rpc_samr.c
@@ -745,15 +745,6 @@  static int rpc_samr_add_domain_entry(char *name)
 	return 0;
 }
 
-static void rpc_samr_remove_domain_entry(unsigned int eidx)
-{
-	gpointer entry;
-
-	entry = g_array_index(domain_entries, gpointer, eidx);
-	domain_entries = g_array_remove_index(domain_entries, eidx);
-	free(entry);
-}
-
 static void domain_entry_free(void *v)
 {
 	char **entry = v;