summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-13 17:41:33 +1000
committerStefan Metzmacher <metze@samba.org>2010-05-28 18:08:28 +0200
commit8d6f88b469cea1aff0d3211f0a9dbd08e6a31497 (patch)
treedf167c231a8dfed8ae168a23b6233cfa2311d757 /source3/winbindd/winbindd_util.c
parentd266f8fdf17e5583d419c2b4bd9daf30acebfd6b (diff)
downloadsamba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.tar.gz
samba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.tar.bz2
samba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.zip
s3:winbind Kill amusing but un-used winbindd_kill_all_clients
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_util.c')
-rw-r--r--source3/winbindd/winbindd_util.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index c808d2df37..970e599e2b 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1101,23 +1101,6 @@ void winbindd_remove_client(struct winbindd_cli_state *cli)
_num_clients--;
}
-/* Close all open clients */
-
-void winbindd_kill_all_clients(void)
-{
- struct winbindd_cli_state *cl = winbindd_client_list();
-
- DEBUG(10, ("winbindd_kill_all_clients: going postal\n"));
-
- while (cl) {
- struct winbindd_cli_state *next;
-
- next = cl->next;
- winbindd_remove_client(cl);
- cl = next;
- }
-}
-
/* Return number of open clients */
int winbindd_num_clients(void)