diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-25 13:31:36 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-27 21:18:25 +0300 |
commit | 2d085ee1728e6ed52f63f221a8ac44cb744e7a84 (patch) | |
tree | ef53cad097a486db3e21e7783ea444c0722fbbc5 /net | |
parent | c6c11ad3ab9fe5eb279479879e3461da99f6fdf0 (diff) | |
download | linux-2d085ee1728e6ed52f63f221a8ac44cb744e7a84.tar.xz |
IB/hfi1: Remove redundant variable rcd
The variable rcd is being assigned a value from a calculation however the
variable is never read, so this redundant variable can be removed.
Cleans up the following clang-analyzer warning:
drivers/infiniband/hw/hfi1/affinity.c:986:3: warning: Value stored to
'rcd' is never read [clang-analyzer-deadcode.DeadStores].
Link: https://lore.kernel.org/r/1619346696-46300-1-git-send-email-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions