This is an automated email from Gerrit. "Chao Du <89669...@qq.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7549
-- gerrit commit 27ffaeb6ade6be30f796c5201ea76731d29a07f8 Author: Chao Du <duc...@eswincomputing.com> Date: Wed Mar 22 06:51:51 2023 +0000 rtos/FreeRTOS: A redundant assignment to threadid. The valid assignment will happen soon. So remove the former one. Signed-off-by: Chao Du <duc...@eswincomputing.com> Change-Id: Ifabc59d501c925b3d6aec8b04b2856d2c31cc4e2 diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index 070275f2c5..dd9b2b3af7 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -312,7 +312,6 @@ static int freertos_update_threads(struct rtos *rtos) (list_elem_ptr != prev_list_elem_ptr) && (tasks_found < thread_list_size)) { /* Get the location of the thread structure. */ - rtos->thread_details[tasks_found].threadid = 0; retval = target_read_u32(rtos->target, list_elem_ptr + param->list_elem_content_offset, &pointer_casts_are_bad); --