aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorShyam Sundar <shyam.sundar@qlogic.com>2009-03-24 12:08:10 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:22:50 -0400
commitddb9b12632ab28460c281d50963bbe3eeda5984a (patch)
tree1031a93f6a1c850ba79026c1afbae5cfd3801e3d /drivers/scsi/qla2xxx/qla_os.c
parentd0c3eefae09e4c19d6da1ed2417e02d8377b1eb3 (diff)
[SCSI] qla2xxx: Cleanup unused flags and #defines.
General cleanup of extraneous/legacy crud. Additional cleanups and Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 1c3d165c035b..ba3309f85560 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2856,19 +2856,11 @@ qla2x00_timer(scsi_qla_host_t *vha)
2856 spin_unlock_irqrestore(&ha->hardware_lock, 2856 spin_unlock_irqrestore(&ha->hardware_lock,
2857 cpu_flags); 2857 cpu_flags);
2858 } 2858 }
2859 set_bit(ABORT_QUEUES_NEEDED, &vha->dpc_flags);
2860 start_dpc++; 2859 start_dpc++;
2861 } 2860 }
2862 2861
2863 /* if the loop has been down for 4 minutes, reinit adapter */ 2862 /* if the loop has been down for 4 minutes, reinit adapter */
2864 if (atomic_dec_and_test(&vha->loop_down_timer) != 0) { 2863 if (atomic_dec_and_test(&vha->loop_down_timer) != 0) {
2865 DEBUG(printk("scsi(%ld): Loop down exceed 4 mins - "
2866 "restarting queues.\n",
2867 vha->host_no));
2868
2869 set_bit(RESTART_QUEUES_NEEDED, &vha->dpc_flags);
2870 start_dpc++;
2871
2872 if (!(vha->device_flags & DFLG_NO_CABLE) && 2864 if (!(vha->device_flags & DFLG_NO_CABLE) &&
2873 !vha->vp_idx) { 2865 !vha->vp_idx) {
2874 DEBUG(printk("scsi(%ld): Loop down - " 2866 DEBUG(printk("scsi(%ld): Loop down - "