summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/stream.c b/lib/stream.c
index cc5898a6db..fcdf56f64f 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -93,12 +93,6 @@ stream_new (size_t size)
assert (size > 0);
- if (size == 0)
- {
- zlog_warn ("stream_new(): called with 0 size!");
- return NULL;
- }
-
s = XCALLOC (MTYPE_STREAM, sizeof (struct stream));
if (s == NULL)