]> asedeno.scripts.mit.edu Git - linux.git/commit
{IB, net}/mlx5: No need to typecast from void* to mlx5_ib_dev*
authorParav Pandit <parav@mellanox.com>
Wed, 29 May 2019 22:50:39 +0000 (22:50 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 31 May 2019 19:28:14 +0000 (12:28 -0700)
commitc94ff7487754dd23159a8dc47466c0cc82121ebd
tree1a06ee9f199a37a7e6d520f40c8755fdbee6810a
parent6706a3b94f890145ca09797f748d2b30e1414fd3
{IB, net}/mlx5: No need to typecast from void* to mlx5_ib_dev*

Avoid typecasting from void* to mlx5_ib_dev* or mlx5e_rep_priv*
as it is not needed.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/ib_rep.h
drivers/net/ethernet/mellanox/mlx5/core/en_rep.h