We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e2220 commit 4475afaCopy full SHA for 4475afa
drivers/scsi/qla2xxx/qla_os.c
@@ -1875,14 +1875,9 @@ __qla2x00_abort_all_cmds(struct qla_qpair *qp, int res)
1875
for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) {
1876
sp = req->outstanding_cmds[cnt];
1877
if (sp) {
1878
- /*
1879
- * perform lockless completion during driver unload
1880
- */
1881
if (qla2x00_chip_is_down(vha)) {
1882
req->outstanding_cmds[cnt] = NULL;
1883
- spin_unlock_irqrestore(qp->qp_lock_ptr, flags);
1884
sp->done(sp, res);
1885
- spin_lock_irqsave(qp->qp_lock_ptr, flags);
1886
continue;
1887
}
1888
0 commit comments