diff options
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 6 |
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) | |||
1033 | if (device) { | 1033 | if (device) { |
1034 | switch (device_config_needed) { | 1034 | switch (device_config_needed) { |
1035 | case DELETE: | 1035 | case DELETE: |
1036 | scsi_remove_device(device); | ||
1037 | break; | ||
1038 | case CHANGE: | 1036 | case CHANGE: |
1039 | if (!dev->fsa_dev[container].valid) { | ||
1040 | scsi_remove_device(device); | ||
1041 | break; | ||
1042 | } | ||
1043 | scsi_rescan_device(&device->sdev_gendev); | 1037 | scsi_rescan_device(&device->sdev_gendev); |
1044 | 1038 | ||
1045 | default: | 1039 | default: |