Commit 3bef6b9e authored by John Efstathiades's avatar John Efstathiades Committed by David S. Miller

lan78xx: Remove unused timer

Remove kernel timer that is not used by the driver.
Signed-off-by: default avatarJohn Efstathiades <john.efstathiades@pebblebay.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ceec7d3
......@@ -393,7 +393,6 @@ struct lan78xx_net {
unsigned char suspend_count;
unsigned int maxpacket;
struct timer_list delay;
struct timer_list stat_monitor;
unsigned long data[5];
......@@ -3425,8 +3424,7 @@ static void lan78xx_bh(struct tasklet_struct *t)
if (!skb_queue_empty(&dev->txq_pend))
lan78xx_tx_bh(dev);
if (!timer_pending(&dev->delay) &&
!test_bit(EVENT_RX_HALT, &dev->flags))
if (!test_bit(EVENT_RX_HALT, &dev->flags))
lan78xx_rx_bh(dev);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment