mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Remove extra parenthesis used in macros. These macros are not used
in driver, though.
This commit is contained in:
parent
056e0442f6
commit
a315e86aad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192299
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue