On Thu, Nov 18, 2021 at 02:39:24PM +0300, Dan Carpenter wrote: > Remove the unnecessary "umem_pd" variable. And usnic_uiom_alloc_pd() > never returns NULL so remove the NULL check. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>