On Wed, 09 Apr 2025 12:26:20 -0500, Bryan Brattlof wrote:
> !A || (A && B) is equivalent to !A || B
>
> Drop the unused middle expression to simplify the statement.
>
>
Applied to u-boot/master, thanks!
[1/1] mips: octeon: remove unused middle expression
commit: 13d1bd5bbbfaf725a4c15985
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
---
arch/mips/mach-octeon/cvmx-helper-board.c | 3 +--
arch/mips/mach-octeon/cvmx-helper.c | 2 +-
2 files chan
!A || (A && B) is equivalent to !A || B
Drop the unused middle expression to simplify the statement.
Signed-off-by: Bryan Brattlof
---
arch/mips/mach-octeon/cvmx-helper-board.c | 3 +--
arch/mips/mach-octeon/cvmx-helper.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --gi
3 matches
Mail list logo