msm: camera: isp: Remove unncessary rc assignments
Removes unnecessary rc assignments since they were not being checked and there are already logs in the called functions in case of error. CRs-Fixed: 3322998 Change-Id: I3a087dea790b688956de34fd4a76911261293629 Signed-off-by: Joshua Florez <quic_jflorez@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
e2383abcf0
commit
175622f3eb
@@ -5097,7 +5097,7 @@ static int __cam_isp_ctx_flush_req_in_top_state(
|
||||
|
||||
CAM_DBG(CAM_ISP, "Flush pending list");
|
||||
spin_lock_bh(&ctx->lock);
|
||||
rc = __cam_isp_ctx_flush_req(ctx, &ctx->pending_req_list, flush_req);
|
||||
__cam_isp_ctx_flush_req(ctx, &ctx->pending_req_list, flush_req);
|
||||
spin_unlock_bh(&ctx->lock);
|
||||
|
||||
if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_ALL) {
|
||||
@@ -5140,11 +5140,11 @@ static int __cam_isp_ctx_flush_req_in_top_state(
|
||||
|
||||
spin_lock_bh(&ctx->lock);
|
||||
if (!list_empty(&ctx->wait_req_list))
|
||||
rc = __cam_isp_ctx_flush_req(ctx, &ctx->wait_req_list,
|
||||
__cam_isp_ctx_flush_req(ctx, &ctx->wait_req_list,
|
||||
flush_req);
|
||||
|
||||
if (!list_empty(&ctx->active_req_list))
|
||||
rc = __cam_isp_ctx_flush_req(ctx, &ctx->active_req_list,
|
||||
__cam_isp_ctx_flush_req(ctx, &ctx->active_req_list,
|
||||
flush_req);
|
||||
|
||||
ctx_isp->active_req_cnt = 0;
|
||||
|
Reference in New Issue
Block a user