Re: [PATCH] mailbox: bcm-flexrm-mailbox: Remove redundant ternary operators
From: Peng Fan
Date: Wed Sep 17 2025 - 10:00:33 EST
On Thu, Sep 04, 2025 at 07:29:26PM +0800, Liao Yuanhong wrote:
>For ternary operators in the form of "a ? true : false", if 'a' itself
>returns a boolean result, the ternary operator can be omitted. Remove
>redundant ternary operators to clean up the code.
>
>Signed-off-by: Liao Yuanhong <liaoyuanhong@xxxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>