From 959e14c15eca5cf22b52bd36602a69847591386f Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sat, 31 Jan 2009 17:35:44 +0000 Subject: [PATCH] Remove unused local MACROs. Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks --- sys/netinet6/nd6.c | 1 - sys/netinet6/nd6_rtr.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index e2ca9eb1b5e0..4a3890269320 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -83,7 +83,6 @@ __FBSDID("$FreeBSD$"); #define ND6_RECALC_REACHTM_INTERVAL (60 * 120) /* 2 hours */ #define SIN6(s) ((struct sockaddr_in6 *)s) -#define SDL(s) ((struct sockaddr_dl *)s) #ifdef VIMAGE_GLOBALS int nd6_prune; diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 7df364e107e9..2f2d2ffa3df3 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -68,8 +68,6 @@ __FBSDID("$FreeBSD$"); #include #include -#define SDL(s) ((struct sockaddr_dl *)s) - static int rtpref(struct nd_defrouter *); static struct nd_defrouter *defrtrlist_update(struct nd_defrouter *); static int prelist_update __P((struct nd_prefixctl *, struct nd_defrouter *,