Remove extra parenthesis used in macros. These macros are not used

in driver, though.
This commit is contained in:
Pyun YongHyeon 2009-05-18 07:13:42 +00:00
parent 056e0442f6
commit a315e86aad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192299

View file

@ -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)