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