From: Chad Dupuis Date: Thu, 19 Jul 2012 07:19:21 +0000 (+0530) Subject: qla2xxx: Remove unneeded DPC wakeups from qla82xx_watchdog. X-Git-Tag: v2.6.39-400.9.0~487 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fb18c366167ec501076ec43d31adecf9ed8b880e;p=users%2Fjedix%2Flinux-maple.git qla2xxx: Remove unneeded DPC wakeups from qla82xx_watchdog. JIRA Key: V2632FC-116 Signed-off-by: Saurav Kashyap --- diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index a8f81dba3b2d..2aecb682ae88 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c @@ -3337,13 +3337,11 @@ void qla82xx_watchdog(scsi_qla_host_t *vha) ql_log(ql_log_warn, vha, 0x6001, "Adapter reset needed.\n"); set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); - qla2xxx_wake_dpc(vha); } else if (dev_state == QLA82XX_DEV_NEED_QUIESCENT && !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { ql_log(ql_log_warn, vha, 0x6002, "Quiescent needed.\n"); set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); - qla2xxx_wake_dpc(vha); } else { if (qla82xx_check_fw_alive(vha)) { ql_dbg(ql_dbg_timer, vha, 0x6011, @@ -3383,7 +3381,6 @@ void qla82xx_watchdog(scsi_qla_host_t *vha) set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); } - qla2xxx_wake_dpc(vha); ha->flags.isp82xx_fw_hung = 1; if (ha->flags.mbox_busy) { ha->flags.mbox_int = 1;