Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 07:13:42 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192299 - head/sys/dev/nge
Message-ID:  <200905180713.n4I7Dg75053401@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905180713.n4I7Dg75053401>