aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/be2iscsi/be_main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index ac54cf55998f..554349029628 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -2110,16 +2110,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
2110 2110
2111 cri_index = BE_GET_CRI_FROM_CID(cid); 2111 cri_index = BE_GET_CRI_FROM_CID(cid);
2112 ep = phba->ep_array[cri_index]; 2112 ep = phba->ep_array[cri_index];
2113 if (unlikely(ep == NULL)) {
2114 /* connection has already been freed
2115 * just move on to next one
2116 */
2117 beiscsi_log(phba, KERN_WARNING,
2118 BEISCSI_LOG_INIT,
2119 "BM_%d : proc cqe of disconn ep: cid %d\n",
2120 cid);
2121 goto proc_next_cqe;
2122 }
2123 beiscsi_ep = ep->dd_data; 2113 beiscsi_ep = ep->dd_data;
2124 beiscsi_conn = beiscsi_ep->conn; 2114 beiscsi_conn = beiscsi_ep->conn;
2125 2115
@@ -2229,7 +2219,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
2229 break; 2219 break;
2230 } 2220 }
2231 2221
2232proc_next_cqe:
2233 AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0); 2222 AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0);
2234 queue_tail_inc(cq); 2223 queue_tail_inc(cq);
2235 sol = queue_tail_node(cq); 2224 sol = queue_tail_node(cq);