rdma/siw: Remove set but not used variable 's'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 11 Jul 2019 07:12:13 +0000 (15:12 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jul 2019 14:41:10 +0000 (11:41 -0300)
commit855085d9686e107b77a1bdb935224a238a9fd8b9
treea7bfca108e189e6694016767b50dc6f056226010
parentb45305d777f2f9209dae5a3b8249ca03166a4df3
rdma/siw: Remove set but not used variable 's'

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

drivers/infiniband/sw/siw/siw_cm.c: In function siw_cm_llp_state_change:
drivers/infiniband/sw/siw/siw_cm.c:1278:17: warning: variable s set but not used [-Wunused-but-set-variable]

Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@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