diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-26 17:47:44 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-28 20:45:21 +0100 |
commit | 5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882 (patch) | |
tree | 7111e6fecbf124571dfb79de88d31da83e73c046 | |
parent | 9ad1b4cda04269dd50a719b4f65de2579d0da220 (diff) | |
download | samba-5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882.tar.gz samba-5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882.tar.bz2 samba-5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882.zip |
s3: Remove unused count_all_current_connections()
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/smbd/connection.c | 9 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 3af9cb053e..18e60ca078 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6155,7 +6155,6 @@ void msg_force_tdis(struct messaging_context *msg, bool yield_connection(connection_struct *conn, const char *name); int count_current_connections( const char *sharename, bool clear ); -int count_all_current_connections(void); bool claim_connection(connection_struct *conn, const char *name, uint32 msg_flags); bool register_message_flags(bool doreg, uint32 msg_flags); 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 @@ -118,15 +118,6 @@ int count_current_connections( const char *sharename, bool clear ) } /**************************************************************************** - 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. ****************************************************************************/ diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index d3371b27fe..ae468436b6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -44,7 +44,6 @@ void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid, bool yield_connection(connection_struct *conn, const char *name); int count_current_connections( const char *sharename, bool clear ); -int count_all_current_connections(void); bool claim_connection(connection_struct *conn, const char *name, uint32 msg_flags); bool register_message_flags(bool doreg, uint32 msg_flags); |