Skip to content

Commit de7e619

Browse files
Saurav Kashyapmartinkpetersen
authored andcommitted
Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
FCoE adapter initialization failed for ISP8021 with the following patch applied. In addition, reproduction of the issue the patch originally tried to address has been unsuccessful. This reverts commit 3cb182b. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 8394961 commit de7e619

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/scsi/qla2xxx/qla_mbx.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,6 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
334334
if (time_after(jiffies, wait_time))
335335
break;
336336

337-
/*
338-
* Check if it's UNLOADING, cause we cannot poll in
339-
* this case, or else a NULL pointer dereference
340-
* is triggered.
341-
*/
342-
if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)))
343-
return QLA_FUNCTION_TIMEOUT;
344-
345337
/* Check for pending interrupts. */
346338
qla2x00_poll(ha->rsp_q_map[0]);
347339

0 commit comments

Comments
 (0)