Skip to content

Commit

Permalink
[SCSI] mpt2sas : Do not reset handle before calling _scsih_remove_dev…
Browse files Browse the repository at this point in the history
…ice 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>
  • Loading branch information
Kashyap, Desai authored and James Bottomley committed Apr 11, 2010
1 parent b620deb commit 31cef6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/mpt2sas/mpt2sas_scsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -5636,8 +5636,6 @@ _scsih_remove_unresponding_sas_devices(struct MPT2SAS_ADAPTER *ioc)
(unsigned long long)
sas_device->enclosure_logical_id,
sas_device->slot);
/* invalidate the device handle */
sas_device->handle = 0;
_scsih_remove_device(ioc, sas_device);
}

Expand Down

0 comments on commit 31cef6b

Please sign in to comment.