diff mbox series

mountd/rpc_samr: drop unused function rpc_samr_remove_domain_entry()

Message ID 20220122173928.3979-1-ematsumiya@suse.de (mailing list archive)
State New, archived
Headers show
Series mountd/rpc_samr: drop unused function rpc_samr_remove_domain_entry() | expand

Commit Message

Enzo Matsumiya Jan. 22, 2022, 5:39 p.m. UTC
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 mountd/rpc_samr.c | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Namjae Jeon Jan. 23, 2022, 1:12 a.m. UTC | #1
2022-01-23 2:39 GMT+09:00, Enzo Matsumiya <ematsumiya@suse.de>:
> Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Applied, Thanks for your work!
diff mbox series

Patch

diff --git a/mountd/rpc_samr.c b/mountd/rpc_samr.c
index 95c607c101a3..7fe942cf3f08 100644
--- a/mountd/rpc_samr.c
+++ b/mountd/rpc_samr.c
@@ -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;