Inline useless ND_IFINFO() macro
authorkn <kn@openbsd.org>
Wed, 23 Nov 2022 16:59:10 +0000 (16:59 +0000)
committerkn <kn@openbsd.org>
Wed, 23 Nov 2022 16:59:10 +0000 (16:59 +0000)
commitcc076951a8d9f371cdfe71e35b88eda7cfe26b01
tree4a7493cd602a851bef6bbd581dea810a5389404d
parent4d7e99f85f63e514aaa7deab536690e268699f12
Inline useless ND_IFINFO() macro

A single cast-free struct pointer dereference needs no indirection.
ND_IFINFO() is under _KERNEL.

OK mvs
sys/netinet6/nd6.c
sys/netinet6/nd6.h
sys/netinet6/nd6_nbr.c