Merge "msm: camera: isp: Remove unnecessary bound check in bw update path" into camera-kernel.lnx.5.0

This commit is contained in:
Haritha Chintalapati
2021-03-22 16:35:51 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -5295,11 +5295,6 @@ static int cam_isp_blob_bw_update_v2(
}
}
if (split_idx == CAM_ISP_HW_SPLIT_MAX || split_idx == INT_MIN) {
CAM_ERR(CAM_ISP, "Invalide hw res");
return -EINVAL;
}
nrdi_l_bw_updated = false;
nrdi_r_bw_updated = false;
list_for_each_entry(hw_mgr_res, &ctx->res_list_sfe_src, list) {