mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
qla2x00t: Remove a wrong check because it could lead to skipping unlocking (merge r4380 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4436 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2553,8 +2553,7 @@ static int q2t_pre_xmit_response(struct q2t_cmd *cmd,
|
||||
|
||||
/* Does F/W have an IOCBs for this request */
|
||||
res = q2t_check_reserve_free_req(ha, full_req_cnt);
|
||||
if (unlikely(res != SCST_TGT_RES_SUCCESS) &&
|
||||
(xmit_type & Q2T_XMIT_DATA))
|
||||
if (unlikely(res != SCST_TGT_RES_SUCCESS))
|
||||
goto out_unlock_free_unmap;
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user