[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174704525028.584839.4314624447518486154.b4-ty@kernel.org>
Date: Mon, 12 May 2025 06:20:50 -0400
From: Leon Romanovsky <leon@...nel.org>
To: Bernard Metzler <bmt@...ich.ibm.com>, Jason Gunthorpe <jgg@...pe.ca>,
linux-rdma@...r.kernel.org, Colin Ian King <colin.i.king@...il.com>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] RDMA/siw: replace redundant ternary operator
with just rv
On Wed, 07 May 2025 14:18:34 +0100, Colin Ian King wrote:
> The use of the ternary operator on rv is redundant, rv is
> either the initialized value of 0 or a negative error return
> code, so it can never be greater than zero, and hence the
> zero assignment in ternary operator is redundant. Just return
> rv instead.
>
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: replace redundant ternary operator with just rv
https://git.kernel.org/rdma/rdma/c/8536666a52833d
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists