Home
last modified time | relevance | path

Searched hist:"10 f2d1cb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c10f2d1cb Thu Nov 18 05:39:24 CST 2021 Dan Carpenter <dan.carpenter@oracle.com> RDMA/usnic: Clean up usnic_ib_alloc_pd()

Remove the unnecessary "umem_pd" variable. And usnic_uiom_alloc_pd()
never returns NULL so remove the NULL check.

Link: https://lore.kernel.org/r/20211118113924.GH1147@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>