From owner-svn-src-all@FreeBSD.ORG Mon May 18 07:13:42 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B86AE1065672; Mon, 18 May 2009 07:13:42 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A71FF8FC16; Mon, 18 May 2009 07:13:42 +0000 (UTC) (envelope-from yongari@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 n4I7DgYh053402; Mon, 18 May 2009 07:13:42 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4I7Dg75053401; Mon, 18 May 2009 07:13:42 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <200905180713.n4I7Dg75053401@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 18 May 2009 07:13:42 +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: r192299 - head/sys/dev/nge X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 07:13:43 -0000 Author: yongari Date: Mon May 18 07:13:42 2009 New Revision: 192299 URL: http://svn.freebsd.org/changeset/base/192299 Log: Remove extra parenthesis used in macros. These macros are not used in driver, though. Modified: head/sys/dev/nge/if_ngereg.h Modified: head/sys/dev/nge/if_ngereg.h ============================================================================== --- head/sys/dev/nge/if_ngereg.h Mon May 18 07:10:48 2009 (r192298) +++ head/sys/dev/nge/if_ngereg.h Mon May 18 07:13:42 2009 (r192299) @@ -525,8 +525,8 @@ struct nge_desc_32 { #define NGE_CMDSTS_MORE 0x40000000 #define NGE_CMDSTS_OWN 0x80000000 -#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE))) -#define NGE_MORE(x) ((x)->nge_ctl & NGE_CMDSTS_MORE)) +#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE)) +#define NGE_MORE(x) ((x)->nge_ctl & NGE_CMDSTS_MORE) #define NGE_OWNDESC(x) ((x)->nge_ctl & NGE_CMDSTS_OWN) #define NGE_INC(x, y) (x) = (x + 1) % y #define NGE_RXBYTES(x) ((x)->nge_ctl & NGE_CMDSTS_BUFLEN)