From: Davidlohr Bueso Date: Wed, 22 Feb 2012 03:06:54 +0000 (+0000) Subject: tg3: remove IRQF_SAMPLE_RANDOM flag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f274fd9a0384c448335dcc51b04c4c41caa7f432;p=openwrt%2Fstaging%2Fblogic.git tg3: remove IRQF_SAMPLE_RANDOM flag This driver is the last user of the IRQF_SAMPLE_RANDOM flag for net drivers, and since add_*_randomness interfaces have now deprecated the flag as a source of external noise, we can remove it. Signed-off-by: Davidlohr Bueso Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index d604664fdb42..27dafd928279 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -9682,7 +9682,7 @@ static int tg3_test_interrupt(struct tg3 *tp) } err = request_irq(tnapi->irq_vec, tg3_test_isr, - IRQF_SHARED | IRQF_SAMPLE_RANDOM, dev->name, tnapi); + IRQF_SHARED, dev->name, tnapi); if (err) return err;