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:
bz 2018-09-03 22:10:49 +00:00
parent b60ed05720
commit 44d2e30ec4

View File

@ -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 { \