Browse Source

Merge "msm: camera: ope: Fix unsequenced clang warning" into camera-kernel.lnx.4.0

Camera Software Integration 5 years ago
parent
commit
12fbb55700
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c

+ 0 - 2
drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c

@@ -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) ||