purge extraneous ';'s

Supported by:	FreeBSD Foundation
Noticed by:	bde
This commit is contained in:
Sam Leffler 2003-10-15 18:19:28 +00:00
parent 5141386c7b
commit b35a1e5d66

View File

@ -233,19 +233,19 @@ static struct rtcache {
RTCACHE_LOCK(); \
*(_ro) = ip_fwdcache.rc_ro; \
RTCACHE_UNLOCK(); \
} while (0);
} while (0)
/*
* Update the cache contents. We optimize this using
* the routing table reference. XXX is this safe?
*/
#define RTCACHE_UPDATE(_ro) do { \
if ((_ro)->ro_rt != ip_fwdcache.rc_ro.ro_rt) { \
if ((_ro)->ro_rt != ip_fwdcache.rc_ro.ro_rt) { \
RTCACHE_LOCK(); \
ip_fwdcache.rc_ro = *(_ro); \
RTCACHE_UNLOCK(); \
} \
} while (0);
} while (0)
/*
* XXX this is ugly -- the following two global variables are