summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_close.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-12-07 13:38:44 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-07 21:03:12 +0100
commita8ae890b9c5f0d812337d97f2552c0d772957dc2 (patch)
tree719b75bedce5b5ac9f05590d011c5cdf4a9ff4fc /net/smc/smc_close.c
parentnet: dsa: Allow compiling out legacy support (diff)
downloadlinux-a8ae890b9c5f0d812337d97f2552c0d772957dc2.tar.xz
linux-a8ae890b9c5f0d812337d97f2552c0d772957dc2.zip
smc: make smc_close_active_abort() static
smc_close_active_abort() is used in smc_close.c only. Make it static. 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_close.c')
-rw-r--r--net/smc/smc_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/smc_close.c b/net/smc/smc_close.c
index 48615d2ac4aa..e194c6cc308a 100644
--- a/net/smc/smc_close.c
+++ b/net/smc/smc_close.c
@@ -113,7 +113,7 @@ static int smc_close_abort(struct smc_connection *conn)
/* terminate smc socket abnormally - active abort
* 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 =
&smc->conn.local_tx_ctrl.conn_state_flags;