From 7937a6afcbe38af271894364a44abd55207ba83b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 17 Dec 2012 14:08:59 +0100 Subject: s4-librpc: Remove dead code in smb_send_request(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If trigger_read we return earlier. Found by Coverity. Signed-off-by: Andreas Schneider Reviewed-by: Günther Deschner --- source4/librpc/rpc/dcerpc_smb.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source4/librpc') 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; } -- cgit