Re: nd6_ioctl: Use local variable for consistency

2022-11-10 Thread Alexander Bluhm
On Thu, Nov 10, 2022 at 02:56:00PM +, Klemens Nanni wrote: > No point in using the variable for half of the check. > > OK? OK bluhm@ > diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c > index e65eeb0c2ac..d88969be617 100644 > --- a/sys/netinet6/nd6.c > +++ b/sys/netinet6/nd6.c > @@

nd6_ioctl: Use local variable for consistency

2022-11-10 Thread Klemens Nanni
No point in using the variable for half of the check. OK? diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index e65eeb0c2ac..d88969be617 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1025,24 +1025,24 @@ nd6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp) case