diff options
author | Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | 2006-02-28 19:25:13 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-02-28 19:51:38 -0500 |
commit | 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 (patch) | |
tree | 739ef15f5560cbccda5aa2236c9678af785f5b10 /drivers/scsi/lpfc | |
parent | 0c71fd9e433c032c08e85a955471bc03138afa80 (diff) |
[SCSI] lpfc 8.1.2: Remove unused SLI_IOCB_HIGH_PRIORITY
Remove unused SLI_IOCB_HIGH_PRIORITY
Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 10 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 7b785ade8b07..ab710243687a 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -2237,16 +2237,6 @@ lpfc_sli_issue_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, | |||
2237 | !(phba->sli.sli_flag & LPFC_PROCESS_LA))) | 2237 | !(phba->sli.sli_flag & LPFC_PROCESS_LA))) |
2238 | goto iocb_busy; | 2238 | goto iocb_busy; |
2239 | 2239 | ||
2240 | /* | ||
2241 | * Check to see if this is a high priority command. | ||
2242 | * If so bypass tx queue processing. | ||
2243 | */ | ||
2244 | if (unlikely((flag & SLI_IOCB_HIGH_PRIORITY) && | ||
2245 | (iocb = lpfc_sli_next_iocb_slot(phba, pring)))) { | ||
2246 | lpfc_sli_submit_iocb(phba, pring, iocb, piocb); | ||
2247 | piocb = NULL; | ||
2248 | } | ||
2249 | |||
2250 | while ((iocb = lpfc_sli_next_iocb_slot(phba, pring)) && | 2240 | while ((iocb = lpfc_sli_next_iocb_slot(phba, pring)) && |
2251 | (nextiocb = lpfc_sli_next_iocb(phba, pring, &piocb))) | 2241 | (nextiocb = lpfc_sli_next_iocb(phba, pring, &piocb))) |
2252 | lpfc_sli_submit_iocb(phba, pring, iocb, nextiocb); | 2242 | lpfc_sli_submit_iocb(phba, pring, iocb, nextiocb); |
diff --git a/drivers/scsi/lpfc/lpfc_sli.h b/drivers/scsi/lpfc/lpfc_sli.h index b7a9f970f565..6d357d9e48f7 100644 --- a/drivers/scsi/lpfc/lpfc_sli.h +++ b/drivers/scsi/lpfc/lpfc_sli.h | |||
@@ -61,7 +61,6 @@ struct lpfc_iocbq { | |||
61 | }; | 61 | }; |
62 | 62 | ||
63 | #define SLI_IOCB_RET_IOCB 1 /* Return IOCB if cmd ring full */ | 63 | #define SLI_IOCB_RET_IOCB 1 /* Return IOCB if cmd ring full */ |
64 | #define SLI_IOCB_HIGH_PRIORITY 2 /* High priority command */ | ||
65 | 64 | ||
66 | #define IOCB_SUCCESS 0 | 65 | #define IOCB_SUCCESS 0 |
67 | #define IOCB_BUSY 1 | 66 | #define IOCB_BUSY 1 |