diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/cciss_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c index 45ac09300eb3..e4bf9a11ca0d 100644 --- a/drivers/block/cciss_scsi.c +++ b/drivers/block/cciss_scsi.c | |||
@@ -1349,9 +1349,9 @@ cciss_unregister_scsi(int ctlr) | |||
1349 | /* set scsi_host to NULL so our detect routine will | 1349 | /* set scsi_host to NULL so our detect routine will |
1350 | find us on register */ | 1350 | find us on register */ |
1351 | sa->scsi_host = NULL; | 1351 | sa->scsi_host = NULL; |
1352 | spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags); | ||
1352 | scsi_cmd_stack_free(ctlr); | 1353 | scsi_cmd_stack_free(ctlr); |
1353 | kfree(sa); | 1354 | kfree(sa); |
1354 | spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags); | ||
1355 | } | 1355 | } |
1356 | 1356 | ||
1357 | static int | 1357 | static int |