summaryrefslogtreecommitdiff
path: root/src/erasurecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/erasurecode.c')
-rw-r--r--src/erasurecode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/erasurecode.c b/src/erasurecode.c
index c932c85..037411e 100644
--- a/src/erasurecode.c
+++ b/src/erasurecode.c
@@ -392,12 +392,6 @@ int liberasurecode_encode(int desc,
goto out;
}
- if (orig_data_size <= 0) {
- log_error("Size of data to encode must be a positive value");
- ret = -EINVALIDPARAMS;
- goto out;
- }
-
if (encoded_data == NULL) {
log_error("Pointer to encoded data buffers is null!");
return -EINVALIDPARAMS;