In the function find_available_port() a port is randomly selected. Because the random value is always >= 0x8000, it is redundant to check if it is <= 1023 afterwards. This commit removes the redundant check. Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||