]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited3f6c6d2d02d157a5f03173a588094ee6380813
tree39e243a16a8d059499dd8e50cc50cf1b0a05c640
parentbd6184f99b5ae0c9624b8325daa3f5e16e761a85
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