diff options
Diffstat (limited to 'drivers/scsi/pcmcia/qlogic_stub.c')
-rw-r--r-- | drivers/scsi/pcmcia/qlogic_stub.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 70269fc10f30..1e27059cd462 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c | |||
@@ -288,12 +288,7 @@ out: | |||
288 | 288 | ||
289 | cs_failed: | 289 | cs_failed: |
290 | cs_error(link->handle, last_fn, last_ret); | 290 | cs_error(link->handle, last_fn, last_ret); |
291 | link->dev = NULL; | 291 | pcmcia_disable_device(link->handle); |
292 | |||
293 | pcmcia_release_configuration(link->handle); | ||
294 | pcmcia_release_io(link->handle, &link->io); | ||
295 | pcmcia_release_irq(link->handle, &link->irq); | ||
296 | link->state &= ~DEV_CONFIG; | ||
297 | return; | 292 | return; |
298 | 293 | ||
299 | } /* qlogic_config */ | 294 | } /* qlogic_config */ |