Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21140
b: refs/heads/master
c: a707cd6
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn / snakebyte authored and Jeff Garzik committed Jan 27, 2006
1 parent 74e1368 commit b1085a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97309d1a0bbdcb0813ea08574b4473d8e5416012
refs/heads/master: a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9
6 changes: 2 additions & 4 deletions trunk/drivers/net/tulip/xircom_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,8 @@ static void setup_descriptors(struct xircom_private *card)
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 */
Expand Down

0 comments on commit b1085a5

Please sign in to comment.