From owner-svn-src-head@FreeBSD.ORG Sat Jan 31 17:35:45 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F6510656E3; Sat, 31 Jan 2009 17:35:45 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 304408FC08; Sat, 31 Jan 2009 17:35:45 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0VHZjkJ030133; Sat, 31 Jan 2009 17:35:45 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0VHZjkA030131; Sat, 31 Jan 2009 17:35:45 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200901311735.n0VHZjkA030131@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 31 Jan 2009 17:35:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187958 - head/sys/netinet6 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 17:35:45 -0000 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@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 #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 *,