diff options
author | Michael Adam <obnox@samba.org> | 2012-05-22 11:56:36 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-22 16:42:22 +0200 |
commit | f9e4105f4170181989c44a2326a8a8a89314fc98 (patch) | |
tree | 880941415060febcd98ee7d086aa0cc47563f373 /source3/smbd | |
parent | c531aac27c433e0eb068a8a4f0a6c90cad2e44fa (diff) | |
download | samba-f9e4105f4170181989c44a2326a8a8a89314fc98.tar.gz samba-f9e4105f4170181989c44a2326a8a8a89314fc98.tar.bz2 samba-f9e4105f4170181989c44a2326a8a8a89314fc98.zip |
s3:smbd: remove unused 'connection_struct->used'
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 22 16:42:22 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 | ||||
-rw-r--r-- | source3/smbd/service.c | 1 |
2 files changed, 0 insertions, 3 deletions
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$")) ); |