Re: [PATCH] net: dhcpv6: remove excluded middle expression

2025-04-09 Thread Jerome Forissier
Hi Bryan, On 4/8/25 23:57, Bryan Brattlof wrote: > !A || (A && B) is equivalent to !A || B > > Drop the middle expression from the statement > > Signed-off-by: Bryan Brattlof > --- > net/dhcpv6.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/net/dhcpv6.c b/net/dh

[PATCH] net: dhcpv6: remove excluded middle expression

2025-04-08 Thread Bryan Brattlof
!A || (A && B) is equivalent to !A || B Drop the middle expression from the statement Signed-off-by: Bryan Brattlof --- net/dhcpv6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/dhcpv6.c b/net/dhcpv6.c index 54619ee698362..65ec48ef665e5 100644 --- a/net/dhcpv6.c ++