summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commsup.c
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2006-09-19 09:00:18 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-23 20:10:10 -0500
commitac5826ca91243272f97b3f01e80d71e3618f105f (patch)
treefa68284e8e8afb3661b8441c610196b05503cbb8 /drivers/scsi/aacraid/commsup.c
parent76a7f8fdc0c2381ae1ba55ef71837712223ecb3c (diff)
downloadblackbird-op-linux-ac5826ca91243272f97b3f01e80d71e3618f105f.tar.gz
blackbird-op-linux-ac5826ca91243272f97b3f01e80d71e3618f105f.zip
[SCSI] aacraid: remove scsi_remove_device
Received from Mark Salyzyn: Until the system is stabilized, I am suggesting the enclosed modification to prevent the driver from tickling the panic. Once sysfs and friends are stabilized, the patch may be backed out. We have yet to evaluate if we really want to relinquish existing Scsi Devices in any case, holding on to them as configuration of arrays comes and goes makes some sense as well. As a result, we have opted to pull the lines rather than comment them in legacy. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r--drivers/scsi/aacraid/commsup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 907161d6e92c..8734a045558e 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -1033,13 +1033,7 @@ static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr)
if (device) {
switch (device_config_needed) {
case DELETE:
- scsi_remove_device(device);
- break;
case CHANGE:
- if (!dev->fsa_dev[container].valid) {
- scsi_remove_device(device);
- break;
- }
scsi_rescan_device(&device->sdev_gendev);
default:
OpenPOWER on IntegriCloud