Re: [PATCH] mips: octeon: remove unused middle expression

2025-05-06 Thread Tom Rini
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

Re: [PATCH] mips: octeon: remove unused middle expression

2025-04-24 Thread Daniel Schwierzeck
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

[PATCH] mips: octeon: remove unused middle expression

2025-04-09 Thread Bryan Brattlof
!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