Skip to content
Commit 6a1c2304 authored by Christian Taedcke's avatar Christian Taedcke Committed by Fabio Baltieri
Browse files

net: context: Remove redunant check of automatically selected port



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: default avatarChristian Taedcke <christian.taedcke@lemonbeat.com>
parent 604a4053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment