RDMA/siw: Remove set but not used variables 'rv'
authorMao Wenan <maowenan@huawei.com>
Fri, 19 Jul 2019 01:29:38 +0000 (09:29 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Jul 2019 18:22:46 +0000 (15:22 -0300)
commitaf0653d56657340a80622aeb96707f7fc8506225
tree59e4a0056d08a0420b3b5a384a52297e8e6238d8
parentb7f406bb883ba7ac3222298f6b44cebc4cfe2dde
RDMA/siw: Remove set but not used variables 'rv'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/infiniband/sw/siw/siw_cm.c: In function siw_cep_set_inuse:
drivers/infiniband/sw/siw/siw_cm.c:223:6: warning: variable rv set but not used [-Wunused-but-set-variable]

Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Link: https://lore.kernel.org/r/20190719012938.100628-1-maowenan@huawei.com
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/siw/siw_cm.c