提交 f274fd9a 编写于 作者: D Davidlohr Bueso 提交者: David S. Miller

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: NDavidlohr Bueso <dave@gnu.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4b0d1a0b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册