projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4968286
)
netxen: Fix Unlikely(x) > y
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 6 Oct 2009 19:34:39 +0000
(19:34 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 7 Oct 2009 10:50:09 +0000
(
03:50
-0700)
The closing parenthesis was not on the right location.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/netxen/netxen_nic_main.c
b/drivers/net/netxen/netxen_nic_main.c
index b5aa974827e53bc5b69b209797b332028eec6a42..9b9eab107704bd4fa3946c62d9369fb7e74365c5 100644
(file)
--- a/
drivers/net/netxen/netxen_nic_main.c
+++ b/
drivers/net/netxen/netxen_nic_main.c
@@
-1714,7
+1714,7
@@
netxen_nic_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
/* 4 fragments per cmd des */
no_of_desc = (frag_count + 3) >> 2;
- if (unlikely(no_of_desc + 2
) > netxen_tx_avail(tx_ring
)) {
+ if (unlikely(no_of_desc + 2
> netxen_tx_avail(tx_ring)
)) {
netif_stop_queue(netdev);
return NETDEV_TX_BUSY;
}