1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cov263976: paranoid check is dead code to coverity

This commit is contained in:
Andy Green 2019-11-12 10:22:44 +00:00
parent b2a112568c
commit 2d04b40770

View file

@ -126,8 +126,6 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
/* ensure we don't wrap at 2^31 with poll()'s signed int ms */
timeout_us /= LWS_US_PER_MS; /* ms now */
if (timeout_us > LWS_POLL_WAIT_LIMIT)
timeout_us = LWS_POLL_WAIT_LIMIT;
vpt->inside_poll = 1;
lws_memory_barrier();