linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / isdn / hisax / hisax_isac.c
index 81eac34..f4972f6 100644 (file)
@@ -476,10 +476,12 @@ static void isac_fill_fifo(struct isac *isac)
        unsigned char cmd;
        u_char *ptr;
 
-       BUG_ON(!isac->tx_skb);
+       if (!isac->tx_skb)
+               BUG();
 
        count = isac->tx_skb->len;
-       BUG_ON(count <= 0);
+       if (count <= 0)
+               BUG();
 
        DBG(DBG_IRQ, "count %d", count);
 
@@ -857,7 +859,8 @@ void isac_d_l2l1(struct hisax_if *hisax_d_if, int pr, void *arg)
                        dev_kfree_skb(skb);
                        break;
                }
-               BUG_ON(isac->tx_skb);
+               if (isac->tx_skb)
+                       BUG();
 
                isac->tx_skb = skb;
                isac_fill_fifo(isac);