s3:libsmb: remove unused reference to talloc_tos()
[samba.git] / source3 / libsmb / smb2cli_flush.c
index d46eeedbf5345e4861d66ace387bca0c3396238e..738af242245125d92d7712e9ff9d05cace16cf3c 100644 (file)
@@ -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;