[PATCH 2/6] gianfar: Remove 'Interrupt problem!' warning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Anton Vorontsov
Date: Tuesday, November 10, 2009 - 5:11 pm

It is OK to poll with disabled IRQs, so remove the warning.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 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 197b358..79c28f5 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)
 				skb_put(skb, pkt_len);
 				dev->stats.rx_bytes += pkt_len;
 
-				if (in_irq() || irqs_disabled())
-					printk("Interrupt problem!\n");
 				gfar_process_frame(dev, skb, amount_pull);
 
 			} else {
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] gianfar: Some fixes, Anton Vorontsov, (Tue Nov 10, 5:10 pm)
[PATCH 2/6] gianfar: Remove 'Interrupt problem!' warning, Anton Vorontsov, (Tue Nov 10, 5:11 pm)
[PATCH 3/6] gianfar: Fix build with CONFIG_PM=y, Anton Vorontsov, (Tue Nov 10, 5:11 pm)
[PATCH 4/6] gianfar: Fix thinko in gfar_set_rx_stash_index(), Anton Vorontsov, (Tue Nov 10, 5:11 pm)
[PATCH 6/6] gianfar: Revive SKB recycling, Anton Vorontsov, (Tue Nov 10, 5:11 pm)
RE: [PATCH 6/6] gianfar: Revive SKB recycling, Kumar Gopalpet-B05799, (Tue Nov 10, 9:20 pm)
RE: [PATCH 3/6] gianfar: Fix build with CONFIG_PM=y, Kumar Gopalpet-B05799, (Tue Nov 10, 9:27 pm)
Re: [PATCH 0/6] gianfar: Some fixes, Kumar Gala, (Wed Nov 11, 8:16 am)
Re: [PATCH 0/6] gianfar: Some fixes, David Miller, (Wed Nov 11, 8:04 pm)