tg3: remove IRQF_SAMPLE_RANDOM flag
authorDavidlohr Bueso <dave@gnu.org>
Wed, 22 Feb 2012 03:06:54 +0000 (03:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Feb 2012 19:43:48 +0000 (14:43 -0500)
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>
drivers/net/ethernet/broadcom/tg3.c

index d604664..27dafd9 100644 (file)
@@ -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;