diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-24 18:21:27 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-27 13:19:58 -0400 |
commit | 01ef66bbb65aa4db100b267778202d7657e244e4 (patch) | |
tree | df665a068310f7ed11162f8bc7096872a7930db9 /drivers/scsi | |
parent | 7e47e5ca184548341a82eeb2238ee3622c43cae1 (diff) |
[SCSI] qla2xxx: qla_os.c, make 2 functions static
This patch makes the following needlessly global functions static:
- qla2x00_alloc_work()
- qla2x00_post_work()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index a7c20f88631b..878a37ac2a55 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2135,7 +2135,7 @@ qla2x00_mem_free(scsi_qla_host_t *ha) | |||
2135 | kfree(ha->nvram); | 2135 | kfree(ha->nvram); |
2136 | } | 2136 | } |
2137 | 2137 | ||
2138 | struct qla_work_evt * | 2138 | static struct qla_work_evt * |
2139 | qla2x00_alloc_work(struct scsi_qla_host *ha, enum qla_work_type type, | 2139 | qla2x00_alloc_work(struct scsi_qla_host *ha, enum qla_work_type type, |
2140 | int locked) | 2140 | int locked) |
2141 | { | 2141 | { |
@@ -2152,7 +2152,7 @@ qla2x00_alloc_work(struct scsi_qla_host *ha, enum qla_work_type type, | |||
2152 | return e; | 2152 | return e; |
2153 | } | 2153 | } |
2154 | 2154 | ||
2155 | int | 2155 | static int |
2156 | qla2x00_post_work(struct scsi_qla_host *ha, struct qla_work_evt *e, int locked) | 2156 | qla2x00_post_work(struct scsi_qla_host *ha, struct qla_work_evt *e, int locked) |
2157 | { | 2157 | { |
2158 | unsigned long flags; | 2158 | unsigned long flags; |