diff options
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 | ||