From a167c2c09eb1e3cc9a9f22974d726fcdb6ee218d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 20 Jun 2006 18:30:24 +0000 Subject: r16422: winbindd_demote_client isn't used and generates a Klocwork issue (#1844). Remove it Jeremy. (This used to be commit e83c3e0a65edeb423d964488e219e30d023b13e8) --- source3/nsswitch/winbindd_util.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/nsswitch/winbindd_util.c') diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 928e78a05f..d974ad8c56 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -976,14 +976,6 @@ void winbindd_remove_client(struct winbindd_cli_state *cli) _num_clients--; } -/* Demote a client to be the last in the list */ - -void winbindd_demote_client(struct winbindd_cli_state *cli) -{ - struct winbindd_cli_state *tmp; - DLIST_DEMOTE(_client_list, cli, tmp); -} - /* Close all open clients */ void winbindd_kill_all_clients(void) -- cgit