mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
msm: camera: ope: Fix unsequenced clang warning
Address unsequenced operations to avoid any undefined behavior. CRs-Fixed: 2738394 Change-Id: Ieac88c20d1411771d8b722ccb4c417b47570f7ca Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
parent
8c5f76e807
commit
934bb3ea14
1 changed files with 0 additions and 2 deletions
|
|
@ -2155,8 +2155,6 @@ static int cam_ope_mgr_process_cmd_desc(struct cam_ope_hw_mgr *hw_mgr,
|
|||
if (rc || !cpu_addr) {
|
||||
CAM_ERR(CAM_OPE, "get cmd buf failed %x",
|
||||
hw_mgr->iommu_hdl);
|
||||
num_cmd_buf = (num_cmd_buf > 0) ?
|
||||
num_cmd_buf-- : 0;
|
||||
goto end;
|
||||
}
|
||||
if ((len <= cmd_desc[i].offset) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue