Rather than duplicating the functionality of a macro after r322866
use the already existing one. No functional changes. Reviewed by: karels, ae Approved by: re (rgrimes) Differential Revision: https://reviews.freebsd.org/D17004
This commit is contained in:
parent
b60ed05720
commit
44d2e30ec4
@ -410,10 +410,8 @@ struct rt_addrinfo {
|
||||
} while (0)
|
||||
|
||||
#define RO_RTFREE(_ro) do { \
|
||||
if ((_ro)->ro_rt) { \
|
||||
RT_LOCK((_ro)->ro_rt); \
|
||||
RTFREE_LOCKED((_ro)->ro_rt); \
|
||||
} \
|
||||
if ((_ro)->ro_rt) \
|
||||
RTFREE((_ro)->ro_rt); \
|
||||
} while (0)
|
||||
|
||||
#define RO_INVALIDATE_CACHE(ro) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user