Skip to content
Commit eddd5983 authored by Michael Scott's avatar Michael Scott Committed by Jukka Rissanen
Browse files

net: tcp: remove net_tcp_set_state() function



There are no users of net_tcp_set_state() left outside of
subsys/net/ip/tcp.c.

And the naming of this function is confusing -- it could easily
be mistaken for net_tcp_change_state() which contains additional
logic for certain tcp states.

Let's remove it entirely and fix the remaining uses to set
tcp->state directly.

Change-Id: I92855ad180e8682780fcff11e50af06adcbc177c
Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
parent a96fbc81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment