Skip to content

Commit

Permalink
isp1301_omap: remove IRQF_SAMPLE_RANDOM which is now a no-op
Browse files Browse the repository at this point in the history
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 775f4b2.  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>
  • Loading branch information
Theodore Ts'o committed Jul 19, 2012
1 parent 8de1ee8 commit 34e4cc4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/otg/isp1301_omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 34e4cc4

Please sign in to comment.