提交 a8ae890b 编写于 作者: U Ursula Braun 提交者: David S. Miller

smc: make smc_close_active_abort() static

smc_close_active_abort() is used in smc_close.c only.
Make it static.
Signed-off-by: NUrsula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2a93c1a3
...@@ -113,7 +113,7 @@ static int smc_close_abort(struct smc_connection *conn) ...@@ -113,7 +113,7 @@ static int smc_close_abort(struct smc_connection *conn)
/* terminate smc socket abnormally - active abort /* terminate smc socket abnormally - active abort
* RDMA communication no longer possible * RDMA communication no longer possible
*/ */
void smc_close_active_abort(struct smc_sock *smc) static void smc_close_active_abort(struct smc_sock *smc)
{ {
struct smc_cdc_conn_state_flags *txflags = struct smc_cdc_conn_state_flags *txflags =
&smc->conn.local_tx_ctrl.conn_state_flags; &smc->conn.local_tx_ctrl.conn_state_flags;
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#define SMC_CLOSE_SOCK_PUT_DELAY HZ #define SMC_CLOSE_SOCK_PUT_DELAY HZ
void smc_close_wake_tx_prepared(struct smc_sock *smc); void smc_close_wake_tx_prepared(struct smc_sock *smc);
void smc_close_active_abort(struct smc_sock *smc);
int smc_close_active(struct smc_sock *smc); int smc_close_active(struct smc_sock *smc);
void smc_close_sock_put_work(struct work_struct *work); void smc_close_sock_put_work(struct work_struct *work);
int smc_close_shutdown_write(struct smc_sock *smc); int smc_close_shutdown_write(struct smc_sock *smc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册