summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-04-25 07:29:19 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-05-03 00:54:33 +0200
commit14b06808d2848658517657ae4c97445da1e14890 (patch)
treefc1f67c3e7408e4a584815662afffc004b6a8bd3
parent[SCSI] qla2xxx: fix sparse warning "large integer implicitly truncated to uns... (diff)
downloadlinux-14b06808d2848658517657ae4c97445da1e14890.tar.xz
linux-14b06808d2848658517657ae4c97445da1e14890.zip
[SCSI] qla2xxx: qla2x00_sp_compl can be static.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index a083715843bd..7b621c2cbf19 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -644,7 +644,7 @@ qla2x00_sp_free_dma(void *vha, void *ptr)
qla2x00_rel_sp(sp->fcport->vha, sp);
}
-void
+static void
qla2x00_sp_compl(void *data, void *ptr, int res)
{
struct qla_hw_data *ha = (struct qla_hw_data *)data;