apps/: Remove/replace all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0. That value is always greater than zero now. In places just replace with #ifdef CONFIG_NET.

This commit is contained in:
Gregory Nutt 2019-02-11 16:23:55 -06:00
parent a14f3fbffb
commit b2f46360de
32 changed files with 73 additions and 77 deletions

View file

@ -58,14 +58,13 @@
* poll/select support. This kind of looks like overkill.
*
* CONFIG_NET - Network support must be enabled
* CONFIG_NSOCKET_DESCRIPTORS - Socket descriptors must be allocated
* CONFIG_NET_TCP - Only support on TCP (because read-ahead
* buffering s not yet support for UDP)
* CONFIG_NET_TCP_READAHEAD - TCP/IP read-ahead buffering must be enabled
*/
#if !defined(CONFIG_NET) || CONFIG_NSOCKET_DESCRIPTORS <= 0
#ifndef CONFIG_NET
# error Network socket support not enabled
#endif