[SCSI] random: remove redundant SA_SAMPLE_RANDOM from NinjaSCSI
authorMatt Mackall <mpm@selenic.com>
Sun, 25 Jun 2006 08:58:54 +0000 (01:58 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 26 Jun 2006 21:33:45 +0000 (16:33 -0500)
The scsi layer is already calling add_disk_randomness in scsi_end_request.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/nsp32.c
drivers/scsi/pcmcia/nsp_cs.c

index 159fd5d8f98d339297e2ff3c594ea561fee60891..4190788f14be5087f2491f841c785c2870397623 100644 (file)
@@ -2866,8 +2866,7 @@ static int nsp32_detect(struct scsi_host_template *sht)
         */
        nsp32_do_bus_reset(data);
 
-       ret = request_irq(host->irq, do_nsp32_isr,
-                         SA_SHIRQ | SA_SAMPLE_RANDOM, "nsp32", data);
+       ret = request_irq(host->irq, do_nsp32_isr, SA_SHIRQ, "nsp32", data);
        if (ret < 0) {
                nsp32_msg(KERN_ERR, "Unable to allocate IRQ for NinjaSCSI32 "
                          "SCSI PCI controller. Interrupt: %d", host->irq);
index 231f9c311c697d77f1652343d536b6746c825d27..bb81218b8d1968b1540b7edbc55f6698e2a9c91b 100644 (file)
@@ -1623,7 +1623,7 @@ static int nsp_cs_probe(struct pcmcia_device *link)
        /* Interrupt handler */
        link->irq.Handler        = &nspintr;
        link->irq.Instance       = info;
-       link->irq.Attributes     |= (SA_SHIRQ | SA_SAMPLE_RANDOM);
+       link->irq.Attributes     |= SA_SHIRQ;
 
        /* General socket configuration */
        link->conf.Attributes    = CONF_ENABLE_IRQ;