diff options
author | Parav Pandit <parav@mellanox.com> | 2019-07-23 09:57:31 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-25 12:07:14 -0300 |
commit | a5c9c299d1e1f3c6fb421d73367cc2f793af1a2d (patch) | |
tree | ca4069372ac8008aeeb2b92472d98e23f726429f /drivers/infiniband/hw/hns/hns_roce_cq.c | |
parent | RDMA/core: Annotate destroy of mutex to ensure that it is released as unlocked (diff) | |
download | linux-dev-a5c9c299d1e1f3c6fb421d73367cc2f793af1a2d.tar.xz linux-dev-a5c9c299d1e1f3c6fb421d73367cc2f793af1a2d.zip |
IB/mlx5: Avoid unnecessary typecast
IB device pointer is already available while deallocating IB device,
Hence do not typecast it.
Link: https://lore.kernel.org/r/20190723065733.4899-9-leon@kernel.org
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_cq.c')
0 files changed, 0 insertions, 0 deletions