diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-11-10 09:11:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-11 22:03:30 -0500 |
commit | 4dea29d06641da5dd6f83000536c48335333e042 (patch) | |
tree | 7c59c99cef9abd1a80446dee941d380be4cb30cd /drivers/net/gianfar.c | |
parent | e84af6ddef0e447c56b256a2bb5a90af11bdac2e (diff) |
gianfar: Remove 'Interrupt problem!' warning
It is OK to poll with disabled IRQs, so remove the warning.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 197b358e6361..79c28f55ba94 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -2504,8 +2504,6 @@ int gfar_clean_rx_ring(struct gfar_priv_rx_q *rx_queue, int rx_work_limit) | |||
2504 | skb_put(skb, pkt_len); | 2504 | skb_put(skb, pkt_len); |
2505 | dev->stats.rx_bytes += pkt_len; | 2505 | dev->stats.rx_bytes += pkt_len; |
2506 | 2506 | ||
2507 | if (in_irq() || irqs_disabled()) | ||
2508 | printk("Interrupt problem!\n"); | ||
2509 | gfar_process_frame(dev, skb, amount_pull); | 2507 | gfar_process_frame(dev, skb, amount_pull); |
2510 | 2508 | ||
2511 | } else { | 2509 | } else { |