From cbb819aed7a3e650332e5ef0c374d819e0bd8588 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 25 Jan 2013 01:00:12 +0900 Subject: [PATCH] spdylay_session_prep_frame: Remove dead code --- lib/spdylay_session.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/spdylay_session.c b/lib/spdylay_session.c index f25dfb04..e9d96fbd 100644 --- a/lib/spdylay_session.c +++ b/lib/spdylay_session.c @@ -966,8 +966,6 @@ static ssize_t spdylay_session_prep_frame(spdylay_session *session, } else { return r; } - } else if(r < 0) { - return r; } frame->syn_stream.slot = slot_index; }