summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-08-05 11:44:10 +0000
committerjca <jca@openbsd.org>2016-08-05 11:44:10 +0000
commit892ca00392a835f831ca77a230afa51e0ea480a9 (patch)
tree81ae340c78b914694c8ce634db5697890830264b
parentimxahci(4) needs ahci.c (diff)
downloadwireguard-openbsd-892ca00392a835f831ca77a230afa51e0ea480a9.tar.xz
wireguard-openbsd-892ca00392a835f831ca77a230afa51e0ea480a9.zip
Kill an unused macro
...instead of leaving an XXX about it.
-rw-r--r--usr.sbin/ndp/ndp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 0539fec9682..2ed262a79c7 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.75 2016/08/02 16:17:54 jca Exp $ */
+/* $OpenBSD: ndp.c,v 1.76 2016/08/05 11:44:10 jca Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -110,8 +110,6 @@
/* packing rule for routing socket */
#define ROUNDUP(a) \
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
-/* XXX remove */
-#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
static pid_t pid;
static int nflag;