samples: dumb_http_server_mt: Remove unneeded statement

ret is not used so assignment is not needed.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2022-06-28 12:34:55 +03:00 committed by Carles Cufí
parent 9782b2cc05
commit 3cd5bd600f

View file

@ -205,7 +205,6 @@ static void client_conn_handler(void *ptr1, void *ptr2, void *ptr3)
if (received == 0) {
/* Connection closed */
LOG_DBG("[%d] Connection closed by peer", client);
ret = 0;
break;
} else if (received < 0) {
/* Socket error */