Commit 504628a
committed
RDMA: Remove unnecessary ternary operators
JIRA: https://issues.redhat.com/browse/RHEL-52273
Conflicts: Include only the qedr hunk.
commit 272bba1
Author: Ruan Jinjie <ruanjinjie@huawei.com>
Date: Mon Jul 31 16:51:18 2023 +0800
RDMA: Remove unnecessary ternary operators
There are a little ternary operators, the true or false judgment
of which is unnecessary in C language semantics.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230731085118.394443-1-ruanjinjie@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
static void ocrdma_store_gsi_qp_cq(struct ocrdma_dev *dev,
Signed-off-by: Kamal Heib <kheib@redhat.com>1 parent 005c162 commit 504628a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
| 1361 | + | |
1362 | 1362 | | |
1363 | 1363 | | |
1364 | 1364 | | |
| |||
0 commit comments