Files
openocd/src/rtos
Antonio Borneo c5806c0ae1 rtos: linux: drop useless code
Since the initial code merged in 2012, the last case of the switch
has a useless test on 'retval' that is not assigned in the case.
Since 'retval' is initialized to ERROR_OK, the condition is always
false.

Drop the check on 'retval'.
While there, drop the useless parenthesis around the 'case' and
add the 'break' statement.

Change-Id: I3f673b5e10f6b28a4a74881b8a06a71b58afb422
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9036
Tested-by: jenkins
2025-09-06 08:30:08 +00:00
..
2025-05-09 12:06:54 +00:00
2025-05-09 12:06:54 +00:00
2025-09-06 08:30:08 +00:00
2025-02-22 22:58:23 +00:00
2025-05-09 12:06:54 +00:00
2025-05-09 12:06:54 +00:00
2024-05-26 09:57:51 +00:00
2025-05-09 12:06:54 +00:00
2025-06-29 07:32:34 +00:00
2025-06-29 07:32:34 +00:00
2025-05-09 12:06:54 +00:00
2025-02-22 22:58:23 +00:00