|
@@ -568,7 +568,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,
|
|
|
if (req == NULL) {
|
|
|
qla_printk(KERN_WARNING, ha, "could not allocate memory"
|
|
|
"for request que\n");
|
|
|
- goto que_failed;
|
|
|
+ goto failed;
|
|
|
}
|
|
|
|
|
|
req->length = REQUEST_ENTRY_CNT_24XX;
|
|
@@ -632,6 +632,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,
|
|
|
|
|
|
que_failed:
|
|
|
qla25xx_free_req_que(base_vha, req);
|
|
|
+failed:
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -659,7 +660,7 @@ qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options,
|
|
|
if (rsp == NULL) {
|
|
|
qla_printk(KERN_WARNING, ha, "could not allocate memory for"
|
|
|
" response que\n");
|
|
|
- goto que_failed;
|
|
|
+ goto failed;
|
|
|
}
|
|
|
|
|
|
rsp->length = RESPONSE_ENTRY_CNT_MQ;
|
|
@@ -728,6 +729,7 @@ qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options,
|
|
|
|
|
|
que_failed:
|
|
|
qla25xx_free_rsp_que(base_vha, rsp);
|
|
|
+failed:
|
|
|
return 0;
|
|
|
}
|
|
|
|