summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-17 14:08:59 +0100
committerGünther Deschner <gd@samba.org>2012-12-21 13:56:00 +0100
commit7937a6afcbe38af271894364a44abd55207ba83b (patch)
tree70f85351c42c311fa42ed262c87610e23fedde69 /source4
parent568bade612f1969ed92e9fe4d04088b08545ad8b (diff)
downloadsamba-7937a6afcbe38af271894364a44abd55207ba83b.tar.gz
samba-7937a6afcbe38af271894364a44abd55207ba83b.tar.bz2
samba-7937a6afcbe38af271894364a44abd55207ba83b.zip
s4-librpc: Remove dead code in smb_send_request().
If trigger_read we return earlier. Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_smb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c
index e718725a74..e02631e2b1 100644
--- a/source4/librpc/rpc/dcerpc_smb.c
+++ b/source4/librpc/rpc/dcerpc_smb.c
@@ -362,10 +362,6 @@ static NTSTATUS smb_send_request(struct dcecli_connection *c, DATA_BLOB *blob,
req->async.fn = smb_write_callback;
req->async.private_data = c;
- if (trigger_read) {
- send_read_request(c);
- }
-
return NT_STATUS_OK;
}