On Thu, 15 Dec 2022 15:30:30 +0300, Alexey Kodanev wrote: > If 'qhp' is NULL then 'wq' is also NULL: > > struct t4_wq *wq = qhp ? &qhp->wq : NULL; > ... > ret = poll_cq(wq, ...); > if (ret) > goto out; > > [...] Applied, thanks! [1/1] RDMA/cxgb4: remove unnecessary NULL check in __c4iw_poll_cq_one() https://git.kernel.org/rdma/rdma/c/cab30a98352511 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>