r16422: winbindd_demote_client isn't used and generates
authorJeremy Allison <jra@samba.org>
Tue, 20 Jun 2006 18:30:24 +0000 (18:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:18:52 +0000 (11:18 -0500)
a Klocwork issue (#1844). Remove it
Jeremy.
(This used to be commit e83c3e0a65edeb423d964488e219e30d023b13e8)

source3/nsswitch/winbindd_util.c

index 928e78a05fe362c4dc7775cfb8296e62a02a3cac..d974ad8c56d8fbf647a6d98eba459508f2c825b1 100644 (file)
@@ -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)