aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-03-17 05:50:37 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 10:23:53 -0400
commit31cef6bcb89dbbc325e65f7570644554de7db441 (patch)
treefb828154a8e4b43ccf24e0c439cb73fe709aedab /drivers
parentb620debb06da7dff773460674695d524161d90af (diff)
[SCSI] mpt2sas : Do not reset handle before calling _scsih_remove_device in RESCAN task after HBA RESET
Setting handle to zero is not required before _scsih_remove_device. Driver uses sas_device->handle reference in _scsih_remove_device. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 6d9f99720b48..fa94f0ff7762 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -5636,8 +5636,6 @@ _scsih_remove_unresponding_sas_devices(struct MPT2SAS_ADAPTER *ioc)
5636 (unsigned long long) 5636 (unsigned long long)
5637 sas_device->enclosure_logical_id, 5637 sas_device->enclosure_logical_id,
5638 sas_device->slot); 5638 sas_device->slot);
5639 /* invalidate the device handle */
5640 sas_device->handle = 0;
5641 _scsih_remove_device(ioc, sas_device); 5639 _scsih_remove_device(ioc, sas_device);
5642 } 5640 }
5643 5641