Remove useless debug code in nghttp2_stream_roots_add()

This commit is contained in:
Tatsuhiro Tsujikawa 2014-05-16 22:30:59 +09:00
parent 3f80472e0a
commit 2778e4aafc
1 changed files with 0 additions and 7 deletions

View File

@ -938,13 +938,6 @@ void nghttp2_stream_roots_add(nghttp2_stream_roots *roots,
nghttp2_stream *stream)
{
if(roots->head) {
nghttp2_stream *si;
for(si = roots->head; si; si = si->root_next) {
if(si == stream) {
assert(0);
}
}
stream->root_next = roots->head;
roots->head->root_prev = stream;
}