svn commit: r187958 - head/sys/netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Jan 31 09:35:45 PST 2009
Author: bz
Date: Sat Jan 31 17:35:44 2009
New Revision: 187958
URL: http://svn.freebsd.org/changeset/base/187958
Log:
Remove unused local MACROs.
Submitted by: Christoph Mallon christoph.mallon at gmx.de
MFC after: 2 weeks
Modified:
head/sys/netinet6/nd6.c
head/sys/netinet6/nd6_rtr.c
Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c Sat Jan 31 17:34:55 2009 (r187957)
+++ head/sys/netinet6/nd6.c Sat Jan 31 17:35:44 2009 (r187958)
@@ -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;
Modified: head/sys/netinet6/nd6_rtr.c
==============================================================================
--- head/sys/netinet6/nd6_rtr.c Sat Jan 31 17:34:55 2009 (r187957)
+++ head/sys/netinet6/nd6_rtr.c Sat Jan 31 17:35:44 2009 (r187958)
@@ -68,8 +68,6 @@ __FBSDID("$FreeBSD$");
#include <netinet6/scope6_var.h>
#include <netinet6/vinet6.h>
-#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 *,
More information about the svn-src-all
mailing list