[PATCH] mips: octeon: remove unused middle expression

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Thu Apr 24 16:20:36 CEST 2025



On 4/9/25 19:26, Bryan Brattlof wrote:
> !A || (A && B) is equivalent to !A || B
> 
> Drop the unused middle expression to simplify the statement.
> 
> Signed-off-by: Bryan Brattlof <bb at ti.com>
> ---
>   arch/mips/mach-octeon/cvmx-helper-board.c | 3 +--
>   arch/mips/mach-octeon/cvmx-helper.c       | 2 +-
>   2 files changed, 2 insertions(+), 3 deletions(-)
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list