netxen: Fix Unlikely(x) > y
[linux-2.6-block.git] / drivers / net / netxen / netxen_nic_main.c
index b5aa974827e53bc5b69b209797b332028eec6a42..9b9eab107704bd4fa3946c62d9369fb7e74365c5 100644 (file)
@@ -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;
        }