Browse Source

[ath5k] Remove spurious debugging check

Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v0.9.8
Joshua Oreman 15 years ago
parent
commit
d7dfc9572e
1 changed files with 0 additions and 10 deletions
  1. 0
    10
      src/drivers/net/ath5k/ath5k_desc.c

+ 0
- 10
src/drivers/net/ath5k/ath5k_desc.c View File

@@ -383,16 +383,6 @@ static int ath5k_hw_setup_rx_desc(struct ath5k_hw *ah __unused,
383 383
 	if (flags & AR5K_RXDESC_INTREQ)
384 384
 		rx_ctl->rx_control_1 |= AR5K_DESC_RX_CTL1_INTREQ;
385 385
 
386
-	if (desc->ds_link < ah->ah_sc->desc_daddr ||
387
-	    desc->ds_link + sizeof(struct ath5k_desc) > ah->ah_sc->desc_daddr + ah->ah_sc->desc_len ||
388
-	    size != 2400 ||
389
-	    *(void **)bus_to_virt(desc->ds_data + 2408) != bus_to_virt(desc->ds_data)) {
390
-		DBG("ath5k! set rx desc %p for %d bytes at %p (%08x) link to %p (%08x)\n",
391
-		    desc, size, bus_to_virt(desc->ds_data), desc->ds_data,
392
-		    bus_to_virt(desc->ds_link), desc->ds_link);
393
-		asm("cli;hlt");
394
-	}
395
-
396 386
 	return 0;
397 387
 }
398 388
 

Loading…
Cancel
Save