Skip to contentSkip to conversation

mountd/rpc_samr: drop unused function rpc_samr_remove_domain_entry()

PATCH Applied Enzo Matsumiya 2 participants 2 messages Jan 22, 2022 – Jan 23, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mountd/rpc_samr: drop unused function rpc_samr_remove_domain_entry()

---
 mountd/rpc_samr.c | 9 ---------
 1 file changed, 9 deletions(-)
mountd/rpc_samr.c +0 -9
index 95c607c101a3..7fe942cf3f08 100644
@@ -744,15 +744,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;
Signature · 1 line
2.31.1