summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_tcon.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-03 12:04:12 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-06 14:50:38 +0200
commit850e47212084482a7ede9d1bc1fe92cc9f297f8f (patch)
tree18c6e562d0a7a9ae75113902427e3c2dc0ceb09c /source3/libsmb/smb2cli_tcon.c
parent3e9b760406802b8fc8e82c13ac69fbe4a6b921da (diff)
downloadsamba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.tar.gz
samba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.tar.bz2
samba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.zip
s3:libsmb: remove unused reference to talloc_tos()
metze
Diffstat (limited to 'source3/libsmb/smb2cli_tcon.c')
-rw-r--r--source3/libsmb/smb2cli_tcon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index 731a6102cb..c22373994c 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -215,7 +215,6 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
tevent_req_data(req,
struct smb2cli_tdis_state);
NTSTATUS status;
- struct iovec *iov;
static const struct smb2cli_req_expected_response expected[] = {
{
.status = NT_STATUS_OK,
@@ -223,7 +222,7 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
}
};
- status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+ status = smb2cli_req_recv(subreq, NULL, NULL,
expected, ARRAY_SIZE(expected));
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {