Skip to content

Commit

Permalink
tg3: remove IRQF_SAMPLE_RANDOM flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Davidlohr Bueso authored and David S. Miller committed Feb 22, 2012
1 parent 4b0d1a0 commit f274fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f274fd9

Please sign in to comment.