isp1301_omap: remove IRQF_SAMPLE_RANDOM which is now a no-op
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jul 2012 18:02:16 +0000 (14:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jul 2012 14:40:14 +0000 (10:40 -0400)
With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a
no-op; interrupt randomness is now collected unconditionally in a very
low-overhead fashion; see commit 775f4b297b.  The IRQF_SAMPLE_RANDOM
flag was scheduled to be removed in 2009 on the
feature-removal-schedule, so this patch is preparation for the final
removal of this flag.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/isp1301_omap.c

index 70cf5d7bca48ed25ee08aa6e5fa40dec52b4268a..512397a9880343ee5455cc62dfa8b65aba0d6e9a 100644 (file)
@@ -1575,7 +1575,6 @@ isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
                isp->irq_type = IRQF_TRIGGER_FALLING;
        }
 
-       isp->irq_type |= IRQF_SAMPLE_RANDOM;
        status = request_irq(i2c->irq, isp1301_irq,
                        isp->irq_type, DRIVER_NAME, isp);
        if (status < 0) {