mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-27 12:35:26 +00:00
sockets: Remove unreachable break statements in event_callback
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Dirk Ziegelmeier <dirk@ziegelmeier.net>
This commit is contained in:
parent
4171f39a72
commit
d87b11e8f9
@ -2120,7 +2120,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
|
||||
case NETCONN_EVT_RCVMINUS:
|
||||
sock->rcvevent--;
|
||||
goto no_select_wakeup;
|
||||
break;
|
||||
case NETCONN_EVT_SENDPLUS:
|
||||
if (sock->sendevent) {
|
||||
goto no_select_wakeup;
|
||||
@ -2130,7 +2129,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
|
||||
case NETCONN_EVT_SENDMINUS:
|
||||
sock->sendevent = 0;
|
||||
goto no_select_wakeup;
|
||||
break;
|
||||
case NETCONN_EVT_ERROR:
|
||||
sock->errevent = 1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user