summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-10-06 21:34:39 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-07 12:50:09 +0200
commitfa9859ef2bb56d876db53c258001af115f38a272 (patch)
tree9b27bcdb9b903f1a3d319dbb23ef62bf86c11728 /drivers/net/netxen
parentpasemi_mac: ethtool get settings fix (diff)
downloadlinux-fa9859ef2bb56d876db53c258001af115f38a272.tar.xz
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')
-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;
}