mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
sockets: Simplify #if !LWIP_TCPIP_CORE_LOCKING guard in select_check_waiters
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
744e69334d
commit
913a7e0638
@ -2526,9 +2526,7 @@ static void select_check_waiters(int s, int has_recvevent, int has_sendevent, in
|
||||
#if !LWIP_TCPIP_CORE_LOCKING
|
||||
int last_select_cb_ctr;
|
||||
SYS_ARCH_DECL_PROTECT(lev);
|
||||
#endif
|
||||
|
||||
#if !LWIP_TCPIP_CORE_LOCKING
|
||||
SYS_ARCH_PROTECT(lev);
|
||||
again:
|
||||
/* remember the state of select_cb_list to detect changes */
|
||||
|
Loading…
Reference in New Issue
Block a user