소스 검색

Merge "msm: camera: core: Fix extraneous variable declaration" into camera-kernel.lnx.1.0

Camera Software Integration 5 년 전
부모
커밋
3a95b6ed59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/cam_core/cam_context_utils.c

+ 1 - 1
drivers/cam_core/cam_context_utils.c

@@ -481,7 +481,7 @@ int32_t cam_context_prepare_dev_to_hw(struct cam_context *ctx,
 
 	return rc;
 put_ctx_ref:
-	for (j; j >= 0; j--)
+	for (; j >= 0; j--)
 		cam_context_putref(ctx);
 put_ref:
 	for (--i; i >= 0; i--) {