The patch titled
     qla2xxx: remove duplicate pci_disable_device() call
has been removed from the -mm tree.  Its filename was
     qla2xxx-remove-duplicate-pci_disable_device-call.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: qla2xxx: remove duplicate pci_disable_device() call
From: Bernhard Walle <[EMAIL PROTECTED]>

On the path qla2x00_probe_one() -> probe_failed -> qla2x00_free_device(),
pci_disable_device() is executed twice, once in qla2x00_free_device() and
once in qla2x00_probe_one().

This patch removes the unnecessary call.

Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]>
Cc: Andrew Vasquez <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/scsi/qla2xxx/qla_os.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN 
drivers/scsi/qla2xxx/qla_os.c~qla2xxx-remove-duplicate-pci_disable_device-call 
drivers/scsi/qla2xxx/qla_os.c
--- 
a/drivers/scsi/qla2xxx/qla_os.c~qla2xxx-remove-duplicate-pci_disable_device-call
+++ a/drivers/scsi/qla2xxx/qla_os.c
@@ -1707,6 +1707,7 @@ qla2x00_remove_one(struct pci_dev *pdev)
 
        scsi_host_put(ha->host);
 
+       pci_disable_device(pdev);
        pci_set_drvdata(pdev, NULL);
 }
 
@@ -1749,8 +1750,6 @@ qla2x00_free_device(scsi_qla_host_t *ha)
        if (ha->iobase)
                iounmap(ha->iobase);
        pci_release_regions(ha->pdev);
-
-       pci_disable_device(ha->pdev);
 }
 
 static inline void
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
git-r8169.patch
git-scsi-misc.patch
use-unchecked_isa_dma-in-sd_revalidate_disk.patch
add-irqf_irqpoll-flag-common-code.patch
add-irqf_irqpoll-flag-on-x86_64.patch
add-irqf_irqpoll-flag-on-i386.patch
add-irqf_irqpoll-flag-on-ia64.patch
add-irqf_irqpoll-flag-on-sh.patch
add-irqf_irqpoll-flag-on-parisc.patch
add-irqf_irqpoll-flag-on-arm.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to