aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2010-07-23 06:28:37 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:06:18 -0400
commit3dbe756a66afbec6487068d4213ecccc3a18807f (patch)
tree5b7c6454be612ffdb41788bb11fa16d5bf998774 /drivers/scsi/qla2xxx/qla_os.c
parentde7c5d059dbd245ad80011725f9c86f560e61fff (diff)
[SCSI] qla2xxx: Cleanup some dead-code and make some functions static.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 50f685415fb2..aeb2f1b504c4 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -701,7 +701,7 @@ qla2x00_wait_for_hba_online(scsi_qla_host_t *vha)
701 * Success (Adapter is online/no flash ops) : 0 701 * Success (Adapter is online/no flash ops) : 0
702 * Failed (Adapter is offline/disabled/flash ops in progress) : 1 702 * Failed (Adapter is offline/disabled/flash ops in progress) : 1
703 */ 703 */
704int 704static int
705qla2x00_wait_for_reset_ready(scsi_qla_host_t *vha) 705qla2x00_wait_for_reset_ready(scsi_qla_host_t *vha)
706{ 706{
707 int return_status; 707 int return_status;
@@ -3469,7 +3469,7 @@ qla2x00_sp_free_dma(srb_t *sp)
3469 CMD_SP(cmd) = NULL; 3469 CMD_SP(cmd) = NULL;
3470} 3470}
3471 3471
3472void 3472static void
3473qla2x00_sp_final_compl(struct qla_hw_data *ha, srb_t *sp) 3473qla2x00_sp_final_compl(struct qla_hw_data *ha, srb_t *sp)
3474{ 3474{
3475 struct scsi_cmnd *cmd = sp->cmd; 3475 struct scsi_cmnd *cmd = sp->cmd;