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 <dave@gnu.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
4b0d1a0b1f
Коммит
f274fd9a03
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче