summaryrefslogtreecommitdiff
path: root/drivers/infiniband/sw/rxe/rxe_verbs.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-09 18:55:43 +0300
committerDoug Ledford <dledford@redhat.com>2018-01-11 00:52:52 +0300
commitda005f9fab3af121a8a9ef17ff7e06ddbc8edf11 (patch)
tree1015176a960f778af4564c436059bc72e410b8ad /drivers/infiniband/sw/rxe/rxe_verbs.c
parent5793b46521553774d66653993cfdc132846bb23d (diff)
downloadlinux-da005f9fab3af121a8a9ef17ff7e06ddbc8edf11.tar.xz
IB/mlx5: remove redundant assignment of mdev
The initial assignment to mdev is redundant as mdev is re-assigned later and the first assigned value is never read. Remove this redundant assignment. Cleans up clang warning: drivers/infiniband/hw/mlx5/main.c:359:24: warning: Value stored to 'mdev' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.c')
0 files changed, 0 insertions, 0 deletions