net: sock: replace sk_state_load with inet_sk_state_load and remove sk_state_store
authorYafang Shao <laoar.shao@gmail.com>
Wed, 20 Dec 2017 03:12:52 +0000 (11:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 19:00:25 +0000 (14:00 -0500)
commit986ffdfd08dbaae721e82720e6bfc2c307e732dd
tree0aa6bd09827ff4654e2b3f563cb0059945fd6194
parent563e0bb0dc74b3ca888e24f8c08f0239fe4016b0
net: sock: replace sk_state_load with inet_sk_state_load and remove sk_state_store

sk_state_load is only used by AF_INET/AF_INET6, so rename it to
inet_sk_state_load and move it into inet_sock.h.

sk_state_store is removed as it is not used any more.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h
include/net/sock.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp.c
net/ipv4/tcp_diag.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c