diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-04-29 12:42:20 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-30 15:58:15 +0200 |
commit | 6da7bda36388ae00822f732c11febfe2ebbb5544 (patch) | |
tree | 7f6f69ab1caecfc3fec871ea04b793313f5a2467 /virt/kvm/kvm_main.c | |
parent | RDMA/nldev: Add copy-on-fork attribute to get sys command (diff) | |
download | linux-6da7bda36388ae00822f732c11febfe2ebbb5544.tar.xz linux-6da7bda36388ae00822f732c11febfe2ebbb5544.zip |
IB/qib: Remove redundant assignment to ret
Variable 'ret' is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant assignment
and can be removed.
Clean up the following clang-analyzer warning:
drivers/infiniband/hw/qib/qib_sd7220.c:690:2: warning: Value stored to
'ret' is never read [clang-analyzer-deadcode.DeadStores]
Link: https://lore.kernel.org/r/1619692940-104771-1-git-send-email-yang.lee@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions