diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-03-01 16:23:54 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-06 16:00:51 -0700 |
commit | 042932f7a3274126ee3bfb2516e8d8260c545b11 (patch) | |
tree | ea7c322c884ab3936502bd4c8d368ba00191ba0e /drivers/infiniband/core/verbs.c | |
parent | IB/rxe: Remove unused variable (char *rxe_qp_state_name[]) (diff) | |
download | linux-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