On Fri, 9 Jun 2023 09:27:46 +0200
Laurent Vivier wrote:
> Use directly net_socket_fd_init_stream() and net_socket_fd_init_dgram()
> when the socket type is already known.
>
> Signed-off-by: Laurent Vivier
This makes sense as a clean up regardless of the rest of the series.
Reviewed-by: David
Use directly net_socket_fd_init_stream() and net_socket_fd_init_dgram()
when the socket type is already known.
Signed-off-by: Laurent Vivier
---
net/socket.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/socket.c b/net/socket.c
index ba6e5b0b0035..24dcaa55bc46 100