RDMA/i40iw: Remove intermediate pointer that points to the same struct
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 26 Sep 2020 10:24:50 +0000 (13:24 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 29 Sep 2020 16:11:07 +0000 (13:11 -0300)
commitd4f40a1fb9838edef9c343ffe9a5009c41f20f6d
tree39e243a16a8d059499dd8e50cc50cf1b0a05c640
parent21c2fe94abb2abe894e6aabe6b4e84a255c8d339
RDMA/i40iw: Remove intermediate pointer that points to the same struct

There is no real need to have an intermediate pointer for the same struct,
remove it, and use struct directly.

Link: https://lore.kernel.org/r/20200926102450.2966017-11-leon@kernel.org
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c