Signed-off-by: Enzo Matsumiya <ematsumiya@xxxxxxx> --- mountd/rpc_samr.c | 9 --------- 1 file changed, 9 deletions(-) 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; -- 2.31.1