summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-20 18:30:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:52 -0500
commita167c2c09eb1e3cc9a9f22974d726fcdb6ee218d (patch)
tree26ecba94aa0725fd6ea3492063581572fa36b6fe /source3/nsswitch
parentdc36abe3a234ddf7973a3cc19c06d3cef17fa4e1 (diff)
downloadsamba-a167c2c09eb1e3cc9a9f22974d726fcdb6ee218d.tar.gz
samba-a167c2c09eb1e3cc9a9f22974d726fcdb6ee218d.tar.bz2
samba-a167c2c09eb1e3cc9a9f22974d726fcdb6ee218d.zip
r16422: winbindd_demote_client isn't used and generates
a Klocwork issue (#1844). Remove it Jeremy. (This used to be commit e83c3e0a65edeb423d964488e219e30d023b13e8)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c8
1 files changed, 0 insertions, 8 deletions
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)