mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Remove wrong check, which can lead to missed lock unlock
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4380 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2545,8 +2545,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