summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/net/e1000.c1
-rw-r--r--src/drivers/net/tg3.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/net/e1000.c b/src/drivers/net/e1000.c
index d89deb7a8..3ec7991fb 100644
--- a/src/drivers/net/e1000.c
+++ b/src/drivers/net/e1000.c
@@ -3536,7 +3536,6 @@ e1000_transmit (struct nic *nic, const char *d, /* Destination */
E1000_WRITE_REG (&hw, TDT, tx_tail);
while (!(txp->upper.data & E1000_TXD_STAT_DD)) {
udelay(10); /* give the nic a chance to write to the register */
- poll_interruptions();
}
DEBUGFUNC("send end");
}
diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c
index 6aad8718f..1901f68fb 100644
--- a/src/drivers/net/tg3.c
+++ b/src/drivers/net/tg3.c
@@ -3153,7 +3153,6 @@ static void tg3_transmit(struct nic *nic, const char *dst_addr,
while((tp->hw_status->idx[0].tx_consumer != entry) &&
(tp->hw_status->idx[0].tx_consumer != PREV_TX(entry))) {
mdelay(10); /* give the nick a chance */
- poll_interruptions();
if (++i > 500) { /* timeout 5s for transmit */
printf("transmit timed out\n");
tg3_halt(tp);