diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-12 13:23:46 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-12 13:24:09 -0700 |
| commit | db79f3c0a54c8fe27713264cc62d89fa837f62d7 (patch) | |
| tree | d2e1a9eecf6c1fd81f11e48c11a142e56eae5b9f /src/rt/circular_buffer.cpp | |
| parent | 47bfd4f4e963b6562404748d6c5dd31b5d544386 (diff) | |
| download | rust-db79f3c0a54c8fe27713264cc62d89fa837f62d7.tar.gz rust-db79f3c0a54c8fe27713264cc62d89fa837f62d7.zip | |
rt: Remove arbitrary limit on size of port queue. Closes #1245
Diffstat (limited to 'src/rt/circular_buffer.cpp')
| -rw-r--r-- | src/rt/circular_buffer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/circular_buffer.cpp b/src/rt/circular_buffer.cpp index c334c816f15..87d2e62145f 100644 --- a/src/rt/circular_buffer.cpp +++ b/src/rt/circular_buffer.cpp @@ -139,7 +139,6 @@ circular_buffer::dequeue(void *dst) { void circular_buffer::grow() { size_t new_buffer_sz = _buffer_sz * 2; - I(kernel, new_buffer_sz <= MAX_CIRCULAR_BUFFER_SIZE); KLOG(kernel, mem, "circular_buffer is growing to %d bytes", new_buffer_sz); void *new_buffer = kernel->malloc(new_buffer_sz, |
