Commit 1cd50d17 authored by Luiz Capitulino's avatar Luiz Capitulino Committed by Christoph Hellwig

[PATCH] qla1280.c warning fix.

drivers/scsi/qla1280.c:3124: warning: `qla1280_64bit_start_scsi' defined but not used
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent b21657ae
...@@ -3119,6 +3119,7 @@ qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type) ...@@ -3119,6 +3119,7 @@ qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type)
* Returns: * Returns:
* 0 = success, was able to issue command. * 0 = success, was able to issue command.
*/ */
#ifdef QLA_64BIT_PTR
static int static int
qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp) qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)
{ {
...@@ -3381,9 +3382,8 @@ qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp) ...@@ -3381,9 +3382,8 @@ qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)
return status; return status;
} }
#else /* !QLA_64BIT_PTR */
#ifndef QLA_64BIT_PTR
/* /*
* qla1280_32bit_start_scsi * qla1280_32bit_start_scsi
* The start SCSI is responsible for building request packets on * The start SCSI is responsible for building request packets on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment