From f48ddd2a55e3e1c6bb360f8e6a290a7f1ba4d17b Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 10 Dec 2014 10:53:46 +0800 Subject: [PATCH] http2 remove some dead code Signed-off-by: Andy Green --- lib/http2.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/http2.c b/lib/http2.c index 5d2fb9a..dc38d44 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -506,16 +506,3 @@ struct libwebsocket * lws_http2_get_nth_child(struct libwebsocket *wsi, int n) return wsi; } -#if 0 -struct libwebsocket * lws_http2_get_next_waiting_child(struct libwebsocket *wsi) -{ - struct libwebsocket *wsi_child = wsi, *wsi2; - - do { - wsi2 = lws_http2_get_nth_child(wsi_child, wsi_child->round_robin_POLLOUT); - if (wsi2 == NULL) { - wsi_child->round_robin = 0; - } - } -} -#endif \ No newline at end of file -- 2.7.4