Commit 8c902af1 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune Committed by Martin Blix Grydeland

vsl: Kill dead check

There's only one call site for vtx_dispatch() and it guarantees that len
is greater than zero.
parent 90cdbe9b
......@@ -435,8 +435,7 @@ vtx_append(struct VSLQ *vslq, struct vtx *vtx, const struct VSLC_ptr *start,
enum vsl_check i;
AN(vtx);
if (len == 0)
return;
AN(len);
AN(start);
i = VSL_Check(vslq->c, start);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment