From: Jeremy Allison Date: Tue, 20 Jun 2006 18:30:24 +0000 (+0000) Subject: r16422: winbindd_demote_client isn't used and generates X-Git-Tag: samba-4.0.0alpha6~801^2~8205 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=a167c2c09eb1e3cc9a9f22974d726fcdb6ee218d;p=ira%2Fwip.git r16422: winbindd_demote_client isn't used and generates a Klocwork issue (#1844). Remove it Jeremy. (This used to be commit e83c3e0a65edeb423d964488e219e30d023b13e8) --- diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 928e78a05fe..d974ad8c56d 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)