Skip to content

Commit

Permalink
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
Browse files Browse the repository at this point in the history
lwip_tcp: fix build with DEVELHELP=0
  • Loading branch information
fjmolinas authored Aug 16, 2021
2 parents 8d9ca8e + 5117da1 commit c1d28d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pkg/lwip/contrib/sys_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
return res;
}

#ifdef DEVELHELP
static kernel_pid_t lwip_tcpip_thread = KERNEL_PID_UNDEF;
static kernel_pid_t lwip_lock_thread;

Expand Down Expand Up @@ -252,6 +251,5 @@ bool sys_check_core_locked(void) {
}
return true;
}
#endif

/** @} */
2 changes: 0 additions & 2 deletions pkg/lwip/include/arch/sys_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ static inline void sys_mbox_set_invalid(sys_mbox_t *mbox)

typedef kernel_pid_t sys_thread_t; /**< Platform specific thread type */

#if DEVELHELP
/**
* @name Functions for locking/unlocking core to assure thread safety.
* @{
Expand All @@ -126,7 +125,6 @@ void sys_lock_tcpip_core(void);
void sys_unlock_tcpip_core(void);
#define UNLOCK_TCPIP_CORE() sys_unlock_tcpip_core()
/** @} */
#endif

#ifdef MODULE_RANDOM
/**
Expand Down

0 comments on commit c1d28d6

Please sign in to comment.