diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-06-23 19:11:00 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-26 17:23:49 -0400 |
commit | 7469059d52c5f762890cc060ef3f0452c097b91e (patch) | |
tree | 9795a6bbf0a48d78d9e59aa6bff611073bb8a974 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 7914d004bcff3e59ca7c0d628f9862fe6655429c (diff) |
[SCSI] qla2xxx: Remove no-op IOCTL codes and macros.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index da84ee2d090b..0c6e33456f50 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1906,17 +1906,6 @@ qla2x00_mem_alloc(scsi_qla_host_t *ha) | |||
1906 | } | 1906 | } |
1907 | memset(ha->init_cb, 0, ha->init_cb_size); | 1907 | memset(ha->init_cb, 0, ha->init_cb_size); |
1908 | 1908 | ||
1909 | /* Allocate ioctl related memory. */ | ||
1910 | if (qla2x00_alloc_ioctl_mem(ha)) { | ||
1911 | qla_printk(KERN_WARNING, ha, | ||
1912 | "Memory Allocation failed - ioctl_mem\n"); | ||
1913 | |||
1914 | qla2x00_mem_free(ha); | ||
1915 | msleep(100); | ||
1916 | |||
1917 | continue; | ||
1918 | } | ||
1919 | |||
1920 | if (qla2x00_allocate_sp_pool(ha)) { | 1909 | if (qla2x00_allocate_sp_pool(ha)) { |
1921 | qla_printk(KERN_WARNING, ha, | 1910 | qla_printk(KERN_WARNING, ha, |
1922 | "Memory Allocation failed - " | 1911 | "Memory Allocation failed - " |
@@ -2033,9 +2022,6 @@ qla2x00_mem_free(scsi_qla_host_t *ha) | |||
2033 | return; | 2022 | return; |
2034 | } | 2023 | } |
2035 | 2024 | ||
2036 | /* free ioctl memory */ | ||
2037 | qla2x00_free_ioctl_mem(ha); | ||
2038 | |||
2039 | /* free sp pool */ | 2025 | /* free sp pool */ |
2040 | qla2x00_free_sp_pool(ha); | 2026 | qla2x00_free_sp_pool(ha); |
2041 | 2027 | ||