hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn --- linux-2.6.16-rc1-git4/drivers/net/tulip/xircom_cb.c.orig 2006-01-26 20:33:27.000000000 +0100 +++ linux-2.6.16-rc1-git4/drivers/net/tulip/xircom_cb.c 2006-01-26 20:33:45.000000000 +0100 @@ -598,10 +598,8 @@ static void setup_descriptors(struct xir enter("setup_descriptors"); - if (card->rx_buffer == NULL) - BUG(); - if (card->tx_buffer == NULL) - BUG(); + BUG_ON(card->rx_buffer == NULL); + BUG_ON(card->tx_buffer == NULL); /* Receive descriptors */ memset(card->rx_buffer, 0, 128); /* clear the descriptors */