Skip to content

Commit c202178

Browse files
committed
---
yaml --- r: 14797 b: refs/heads/try c: db79f3c h: refs/heads/master i: 14795: 191d46f v: v3
1 parent b110483 commit c202178

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 47bfd4f4e963b6562404748d6c5dd31b5d544386
5+
refs/heads/try: db79f3c0a54c8fe27713264cc62d89fa837f62d7
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/circular_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ circular_buffer::dequeue(void *dst) {
139139
void
140140
circular_buffer::grow() {
141141
size_t new_buffer_sz = _buffer_sz * 2;
142-
I(kernel, new_buffer_sz <= MAX_CIRCULAR_BUFFER_SIZE);
143142
KLOG(kernel, mem, "circular_buffer is growing to %d bytes",
144143
new_buffer_sz);
145144
void *new_buffer = kernel->malloc(new_buffer_sz,

branches/try/src/rt/circular_buffer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
class
99
circular_buffer : public kernel_owned<circular_buffer> {
1010
static const size_t INITIAL_CIRCULAR_BUFFER_SIZE_IN_UNITS = 8;
11-
static const size_t MAX_CIRCULAR_BUFFER_SIZE = 1 << 24;
1211

1312
public:
1413
rust_kernel *kernel;

0 commit comments

Comments
 (0)