summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 26ce662..d0f82a8 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -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
OpenPOWER on IntegriCloud