mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
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>
This commit is contained in:
parent
568bade612
commit
7937a6afcb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user