remove extra parenthesis in NGE_LASTDESC macro
This commit is contained in:
parent
35f88e7af9
commit
f857de4ffe
1 changed files with 1 additions and 1 deletions
|
@ -526,7 +526,7 @@ 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_LASTDESC(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…
Add table
Add a link
Reference in a new issue