diff options
author | Karsten Graul <kgraul@linux.vnet.ibm.com> | 2018-03-01 07:51:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-01 13:21:31 -0500 |
commit | 696cd3016975d31e3499c49a7a747d7615a16b3b (patch) | |
tree | f8bd0147570f5ae9e8454b423de9f7703c258c31 /net/smc/smc.h | |
parent | 0f6271264afd975bc599d6f30f3693e9aea57036 (diff) |
net/smc: move netinfo function to file smc_clc.c
The function smc_netinfo_by_tcpsk() belongs to CLC handling.
Move it to smc_clc.c and rename to smc_clc_netinfo_by_tcpsk.
Signed-off-by: Karsten Graul <kgraul@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc.h')
-rw-r--r-- | net/smc/smc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/smc/smc.h b/net/smc/smc.h index 9518986c97b1..9895c190d146 100644 --- a/net/smc/smc.h +++ b/net/smc/smc.h | |||
@@ -263,8 +263,6 @@ static inline bool using_ipsec(struct smc_sock *smc) | |||
263 | 263 | ||
264 | struct smc_clc_msg_local; | 264 | struct smc_clc_msg_local; |
265 | 265 | ||
266 | int smc_netinfo_by_tcpsk(struct socket *clcsock, __be32 *subnet, | ||
267 | u8 *prefix_len); | ||
268 | void smc_conn_free(struct smc_connection *conn); | 266 | void smc_conn_free(struct smc_connection *conn); |
269 | int smc_conn_create(struct smc_sock *smc, __be32 peer_in_addr, | 267 | int smc_conn_create(struct smc_sock *smc, __be32 peer_in_addr, |
270 | struct smc_ib_device *smcibdev, u8 ibport, | 268 | struct smc_ib_device *smcibdev, u8 ibport, |