summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_core.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-07-29 20:19:29 +0800
committerJakub Kicinski <kuba@kernel.org>2023-07-31 14:40:26 -0700
commit4cbc32a8a2b44fc7e91ae3006e5da3eaf630e383 (patch)
treefb1a506d08ade5e02c57f27b61604086a821e777 /net/smc/smc_core.h
parentbfd95b56a3187ba81f95cf0f8aeb78e522bdb09e (diff)
downloadlinux-4cbc32a8a2b44fc7e91ae3006e5da3eaf630e383.tar.gz
linux-4cbc32a8a2b44fc7e91ae3006e5da3eaf630e383.tar.bz2
linux-4cbc32a8a2b44fc7e91ae3006e5da3eaf630e383.zip
net/smc: Remove unused function declarations
commit f9aab6f2ce57 ("net/smc: immediate freeing in smc_lgr_cleanup_early()") left behind smc_lgr_schedule_free_work_fast() declaration. And since commit 349d43127dac ("net/smc: fix kernel panic caused by race of smc_sock") smc_ib_modify_qp_reset() is not used anymore. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Link: https://lore.kernel.org/r/20230729121929.17180-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/smc_core.h')
-rw-r--r--net/smc/smc_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index 1645fba0d2d3..3c1b31bfa1cf 100644
--- a/net/smc/smc_core.h
+++ b/net/smc/smc_core.h
@@ -539,7 +539,6 @@ int smc_vlan_by_tcpsk(struct socket *clcsock, struct smc_init_info *ini);
void smc_conn_free(struct smc_connection *conn);
int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini);
-void smc_lgr_schedule_free_work_fast(struct smc_link_group *lgr);
int smc_core_init(void);
void smc_core_exit(void);