From 5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 26 Feb 2010 17:47:44 +0100 Subject: s3: Remove unused count_all_current_connections() --- source3/smbd/connection.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/smbd/connection.c') diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 3b72a9505a..34903bbc27 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -117,15 +117,6 @@ int count_current_connections( const char *sharename, bool clear ) return cs.curr_connections; } -/**************************************************************************** - Count the number of connections open across all shares. -****************************************************************************/ - -int count_all_current_connections(void) -{ - return count_current_connections(NULL, True /* clear stale entries */); -} - /**************************************************************************** Claim an entry in the connections database. ****************************************************************************/ -- cgit