diff options
author | 2022-07-11 18:12:51 +0300 | |
---|---|---|
committer | 2022-07-18 12:27:28 +0300 | |
commit | aeea6cc067525103301fb7a6ba5c861b631f2086 (patch) | |
tree | 2d733a4a2ffa00cd95799da88bf2a93d21385208 /drivers/infiniband/ulp/rtrs | |
parent | RDMA/rtrs-clt: Use bitmap_empty() (diff) | |
download | linux-aeea6cc067525103301fb7a6ba5c861b631f2086.tar.gz linux-aeea6cc067525103301fb7a6ba5c861b631f2086.tar.bz2 linux-aeea6cc067525103301fb7a6ba5c861b631f2086.zip |
RDMA: remove useless condition in siw_create_cq()
Comparison of 'cq' with NULL is useless since
'cq' is a result of container_of and cannot be NULL
in any reasonable scenario.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Link: https://lore.kernel.org/r/20220711151251.17089-1-strochuk@ispras.ru
Signed-off-by: Andrey Strachuk <strochuk@ispras.ru>
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/ulp/rtrs')
0 files changed, 0 insertions, 0 deletions