diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-03 12:04:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-06 14:50:38 +0200 |
commit | 850e47212084482a7ede9d1bc1fe92cc9f297f8f (patch) | |
tree | 18c6e562d0a7a9ae75113902427e3c2dc0ceb09c /source3/libsmb | |
parent | 3e9b760406802b8fc8e82c13ac69fbe4a6b921da (diff) | |
download | samba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.tar.gz samba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.tar.bz2 samba-850e47212084482a7ede9d1bc1fe92cc9f297f8f.zip |
s3:libsmb: remove unused reference to talloc_tos()
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/smb2cli_close.c | 3 | ||||
-rw-r--r-- | source3/libsmb/smb2cli_flush.c | 3 | ||||
-rw-r--r-- | source3/libsmb/smb2cli_tcon.c | 3 | ||||
-rw-r--r-- | source3/libsmb/smb2cli_write.c | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/source3/libsmb/smb2cli_close.c b/source3/libsmb/smb2cli_close.c index e6b907377f..246d9048b6 100644 --- a/source3/libsmb/smb2cli_close.c +++ b/source3/libsmb/smb2cli_close.c @@ -74,7 +74,6 @@ static void smb2cli_close_done(struct tevent_req *subreq) tevent_req_callback_data(subreq, struct tevent_req); NTSTATUS status; - struct iovec *iov; static const struct smb2cli_req_expected_response expected[] = { { .status = NT_STATUS_OK, @@ -82,7 +81,7 @@ static void smb2cli_close_done(struct tevent_req *subreq) } }; - status = smb2cli_req_recv(subreq, talloc_tos(), &iov, + status = smb2cli_req_recv(subreq, NULL, NULL, expected, ARRAY_SIZE(expected)); if (tevent_req_nterror(req, status)) { return; diff --git a/source3/libsmb/smb2cli_flush.c b/source3/libsmb/smb2cli_flush.c index d46eeedbf5..738af24224 100644 --- a/source3/libsmb/smb2cli_flush.c +++ b/source3/libsmb/smb2cli_flush.c @@ -72,7 +72,6 @@ static void smb2cli_flush_done(struct tevent_req *subreq) tevent_req_callback_data(subreq, struct tevent_req); NTSTATUS status; - struct iovec *iov; static const struct smb2cli_req_expected_response expected[] = { { .status = NT_STATUS_OK, @@ -80,7 +79,7 @@ static void smb2cli_flush_done(struct tevent_req *subreq) } }; - status = smb2cli_req_recv(subreq, talloc_tos(), &iov, + status = smb2cli_req_recv(subreq, NULL, NULL, expected, ARRAY_SIZE(expected)); if (tevent_req_nterror(req, status)) { return; 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)) { diff --git a/source3/libsmb/smb2cli_write.c b/source3/libsmb/smb2cli_write.c index e4da6c8159..3d7b667a50 100644 --- a/source3/libsmb/smb2cli_write.c +++ b/source3/libsmb/smb2cli_write.c @@ -95,7 +95,6 @@ static void smb2cli_write_done(struct tevent_req *subreq) tevent_req_callback_data(subreq, struct tevent_req); NTSTATUS status; - struct iovec *iov; static const struct smb2cli_req_expected_response expected[] = { { .status = NT_STATUS_OK, @@ -103,7 +102,7 @@ static void smb2cli_write_done(struct tevent_req *subreq) } }; - status = smb2cli_req_recv(subreq, talloc_tos(), &iov, + status = smb2cli_req_recv(subreq, NULL, NULL, expected, ARRAY_SIZE(expected)); if (tevent_req_nterror(req, status)) { return; |