summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-10-06 19:34:39 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-07 03:50:09 -0700
commitfa9859ef2bb56d876db53c258001af115f38a272 (patch)
tree9b27bcdb9b903f1a3d319dbb23ef62bf86c11728 /drivers/net/netxen/netxen_nic_main.c
parent49682864b0270a0578b8321ed2686dc471ec37f1 (diff)
downloadblackbird-op-linux-fa9859ef2bb56d876db53c258001af115f38a272.tar.gz
blackbird-op-linux-fa9859ef2bb56d876db53c258001af115f38a272.zip
netxen: Fix Unlikely(x) > y
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>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index b5aa974827e5..9b9eab107704 100644
--- 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;
}
OpenPOWER on IntegriCloud