diff options
-rw-r--r-- | drivers/net/tulip/xircom_cb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index 60d1e05ab732..c5c738a51ee3 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c | |||
@@ -598,10 +598,8 @@ static void setup_descriptors(struct xircom_private *card) | |||
598 | enter("setup_descriptors"); | 598 | enter("setup_descriptors"); |
599 | 599 | ||
600 | 600 | ||
601 | if (card->rx_buffer == NULL) | 601 | BUG_ON(card->rx_buffer == NULL); |
602 | BUG(); | 602 | BUG_ON(card->tx_buffer == NULL); |
603 | if (card->tx_buffer == NULL) | ||
604 | BUG(); | ||
605 | 603 | ||
606 | /* Receive descriptors */ | 604 | /* Receive descriptors */ |
607 | memset(card->rx_buffer, 0, 128); /* clear the descriptors */ | 605 | memset(card->rx_buffer, 0, 128); /* clear the descriptors */ |