[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-rdma
Subject: Re: [PATCH rdma-next] RDMA/cxgb4: remove unnecessary NULL check in __c4iw_poll_cq_one()
From: Leon Romanovsky <leon () kernel ! org>
Date: 2022-12-27 13:49:11
Message-ID: 167214895189.75776.1803467829421930267.b4-ty () kernel ! org
[Download RAW message or body]
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@kernel.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic