Commit 5e82ac7c authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Jason Gunthorpe

RDMA/rtrs-clt: Kill rtrs_clt_{start,stop}_hb

The two wrappers are not needed since we can call rtrs_{start,stop}_hb
directly.

Link: https://lore.kernel.org/r/20210528113018.52290-9-jinpu.wang@ionos.comSigned-off-by: default avatarGuoqing Jiang <guoqing.jiang@ionos.com>
Signed-off-by: default avatarJack Wang <jinpu.wang@ionos.com>
Signed-off-by: default avatarGioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 2d612f0d
...@@ -1449,16 +1449,6 @@ static void rtrs_clt_init_hb(struct rtrs_clt_sess *sess) ...@@ -1449,16 +1449,6 @@ static void rtrs_clt_init_hb(struct rtrs_clt_sess *sess)
rtrs_wq); rtrs_wq);
} }
static void rtrs_clt_start_hb(struct rtrs_clt_sess *sess)
{
rtrs_start_hb(&sess->s);
}
static void rtrs_clt_stop_hb(struct rtrs_clt_sess *sess)
{
rtrs_stop_hb(&sess->s);
}
static void rtrs_clt_reconnect_work(struct work_struct *work); static void rtrs_clt_reconnect_work(struct work_struct *work);
static void rtrs_clt_close_work(struct work_struct *work); static void rtrs_clt_close_work(struct work_struct *work);
...@@ -2098,7 +2088,7 @@ static void rtrs_clt_stop_and_destroy_conns(struct rtrs_clt_sess *sess) ...@@ -2098,7 +2088,7 @@ static void rtrs_clt_stop_and_destroy_conns(struct rtrs_clt_sess *sess)
*/ */
synchronize_rcu(); synchronize_rcu();
rtrs_clt_stop_hb(sess); rtrs_stop_hb(&sess->s);
/* /*
* The order it utterly crucial: firstly disconnect and complete all * The order it utterly crucial: firstly disconnect and complete all
...@@ -2291,7 +2281,7 @@ static int init_conns(struct rtrs_clt_sess *sess) ...@@ -2291,7 +2281,7 @@ static int init_conns(struct rtrs_clt_sess *sess)
if (err) if (err)
goto destroy; goto destroy;
rtrs_clt_start_hb(sess); rtrs_start_hb(&sess->s);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment