mpt2sas : Do not reset handle before calling _scsih_remove_device in RESCAN task after HBA RESET
PATCH 1/1 mpt2sas : Do not reset handle before calling _scsih_remove_device in RESCAN task after HBA RESET
This patch needs to be apply on top of 04.100.01.02 version of mpt2sas driver.
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 <[email protected]>
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c +0 -2
@@ -5635,8 +5635,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); }