aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-03-01 16:23:54 +0000
committerJason Gunthorpe <jgg@mellanox.com>2018-03-06 16:00:51 -0700
commit042932f7a3274126ee3bfb2516e8d8260c545b11 (patch)
treeea7c322c884ab3936502bd4c8d368ba00191ba0e /drivers/infiniband/core/verbs.c
parentIB/rxe: Remove unused variable (char *rxe_qp_state_name[]) (diff)
downloadlinux-dev-042932f7a3274126ee3bfb2516e8d8260c545b11.tar.xz
linux-dev-042932f7a3274126ee3bfb2516e8d8260c545b11.zip
infiniband: remove redundant assignment to pointer 'rdi'
The pointer rdi is being initialized with a value that is never read and re-assigned immediately after, hence the initialization is redundant and can be removed. Cleans up clang warning: drivers/infiniband/sw/rdmavt/vt.c:94:23: warning: Value stored to 'rdi' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions