[SCSI] qla2xxx: Remove duplicate pci_disable_device() call
authorBernhard Walle <bwalle@suse.de>
Tue, 27 Mar 2007 22:49:49 +0000 (00:49 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 1 Apr 2007 15:27:29 +0000 (10:27 -0500)
commit665db93b8a5fc6a11e2ace6b20569420a353d037
tree156c0ddf6081aa31e2c16163621f389afa6b993d
parent4dfb7cbef856689caebd0f498dbd140d1b79954f
[SCSI] qla2xxx: Remove duplicate pci_disable_device() call

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 <bwalle@suse.de>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_os.c