Author: jra
Date: 2006-06-20 18:30:24 +0000 (Tue, 20 Jun 2006)
New Revision: 16422

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16422

Log:
winbindd_demote_client isn't used and generates
a Klocwork issue (#1844). Remove it
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_util.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_util.c  2006-06-20 18:30:18 UTC 
(rev 16421)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_util.c  2006-06-20 18:30:24 UTC 
(rev 16422)
@@ -976,14 +976,6 @@
        _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)

Reply via email to