RDMA/siw: No need to check term_info.valid before call siw_send_terminate
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Mon, 13 Nov 2023 11:57:15 +0000 (19:57 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 15 Nov 2023 13:58:13 +0000 (15:58 +0200)
commit065186d228c5280d0390fde0e7ddba998e66f047
tree5226e01b8115a48f18a3b90f6cda856438f48541
parent659da08ed83a67aec9d106e44d2d88c5963fb85a
RDMA/siw: No need to check term_info.valid before call siw_send_terminate

Remove the redundate checking since siw_send_terminate check it inside.

Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20231113115726.12762-7-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/siw/siw_cm.c