aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/iobuf.c')
-rw-r--r--common/iobuf.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/iobuf.c b/common/iobuf.c
index bde6a5ccc..8ec4c86c0 100644
--- a/common/iobuf.c
+++ b/common/iobuf.c
@@ -2090,14 +2090,6 @@ filter_flush (iobuf_t a)
external_used = 0;
}
- if (src_len == 0)
- {
- if (DBG_IOBUF)
- log_debug ("filter_flush, nothing to flush%s\n",
- external_used ? " (external buffer)" : "");
- return 0;
- }
-
len = src_len;
rc = a->filter (a->filter_ov, IOBUFCTRL_FLUSH, a->chain, src_buf, &len);
if (!rc && len != src_len)