summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/smbd/reply.c2
-rw-r--r--source3/smbd/service.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index b5c674dce6..245ff7be11 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -400,7 +400,6 @@ typedef struct connection_struct {
time_t lastused;
time_t lastused_count;
- bool used;
int num_files_open;
unsigned int num_smb_operations; /* Count of smb operations on this tree. */
int encrypt_level;
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 45f761c630..b93052ade2 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5063,8 +5063,6 @@ void reply_tdis(struct smb_request *req)
return;
}
- conn->used = False;
-
close_cnum(conn,req->vuid);
req->conn = NULL;
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 7b538b0533..d0fd215dc7 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -576,7 +576,6 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
conn->num_files_open = 0;
conn->lastused = conn->lastused_count = time(NULL);
- conn->used = True;
conn->printer = (strncmp(dev,"LPT",3) == 0);
conn->ipc = ( (strncmp(dev,"IPC",3) == 0) ||
( lp_enable_asu_support() && strequal(dev,"ADMIN$")) );