On Tue, 26 Nov 2024 15:10:31 +0200, Leon Romanovsky wrote: > res->dattr is always valid at this point as it was initialized > during device addition in bnxt_re_add_device(). > > This change is fixing the following smatch error: > drivers/infiniband/hw/bnxt_re/qplib_fp.c:1090 bnxt_qplib_create_qp() > error: we previously assumed 'res->dattr' could be null (see line 985) > > [...] Applied, thanks! [1/1] RDMA/bnxt_re: Remove always true dattr validity check https://git.kernel.org/rdma/rdma/c/eb867d797d294a Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>