summaryrefslogtreecommitdiff
path: root/source3/smbd/conn_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/conn_idle.c')
-rw-r--r--source3/smbd/conn_idle.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/smbd/conn_idle.c b/source3/smbd/conn_idle.c
index fd3bf9d9d6..23dcc8988a 100644
--- a/source3/smbd/conn_idle.c
+++ b/source3/smbd/conn_idle.c
@@ -81,21 +81,6 @@ bool conn_idle_all(struct smbd_server_connection *sconn, time_t t)
}
/****************************************************************************
- Close all conn structures.
- Return true if any were closed.
-****************************************************************************/
-
-void conn_close_all(struct smbd_server_connection *sconn)
-{
- if (sconn->using_smb2) {
- smbXsrv_session_logoff_all(sconn->conn);
- } else {
- smb1srv_tcon_disconnect_all(sconn->conn);
- }
-}
-
-
-/****************************************************************************
Forcibly unmount a share.
All instances of the parameter 'sharename' share are unmounted.
The special sharename '*' forces unmount of all shares.