X-Git-Url: http://git.etherboot.org/mirror/scst/.git/blobdiff_plain/cb36ab2b4eb2ccf0973ed9791a20caff68467cd1..2f176e59cb934642bbe520666c826c7368e35dd9:/qla2x00t/qla_os.c diff --git a/qla2x00t/qla_os.c b/qla2x00t/qla_os.c index b008a67..d0f3525 100644 --- a/qla2x00t/qla_os.c +++ b/qla2x00t/qla_os.c @@ -1789,7 +1789,7 @@ qla2x00_stop_dpc_thread(scsi_qla_host_t *ha) ha->dpc_thread = NULL; } spin_unlock_irq(&ha->dpc_lock); - + if (t != NULL) kthread_stop(t); } @@ -1808,7 +1808,7 @@ qla2x00_remove_one(struct pci_dev *pdev) ha->host_shutting_down = 1; spin_unlock_irqrestore(&ha->hardware_lock, flags); } - if (qla_target.tgt_host_action != NULL) + if (qla_target.tgt_host_action != NULL) qla_target.tgt_host_action(ha, DISABLE_TARGET_MODE); #endif