The max_size is always less than PP_MAX_STEP.
Change-Id: Ic1867cd2988f93d3aa298e7e0b97101213660d99
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
pp_data->new_roadmap.step_info[0].dst_config.pos.w = width_leap[0];
max_size = (width_leap_size > height_leap_size ? width_leap_size :
height_leap_size);
- if (max_size - 1 >= PP_MAX_STEP) {
- TDM_BACKEND_ERR("max_size %u out of range", max_size);
- return HAL_TDM_ERROR_OPERATION_FAILED;
- }
+
#if 0 // static analysis error -- unreachable problem
int i;
for (i = 1; i < max_size; i++) {