projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b620deb
)
[SCSI] mpt2sas : Do not reset handle before calling _scsih_remove_device in RESCAN...
author
Kashyap, Desai
<kashyap.desai@lsi.com>
Wed, 17 Mar 2010 09:50:37 +0000
(15:20 +0530)
committer
James Bottomley
<James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:53 +0000
(09:23 -0500)
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>
drivers/scsi/mpt2sas/mpt2sas_scsih.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 6d9f99720b4843dbb7ecd35430a100ae9a15bbeb..fa94f0ff77624529ecbd65b071c3f5a6a4b1097b 100644
(file)
--- 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)
(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);
}