This is an automated email from Gerrit. "Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8492
-- gerrit commit 9c08920582e7bebf6fe34f98deb59df350505d49 Author: Antonio Borneo <borneo.anto...@gmail.com> Date: Mon Sep 16 10:45:17 2024 +0200 target: mem_ap: drop return from void function Checkpatch triggers the error ERROR:RETURN_VOID: void function return statements are not generally useful Fix it! Change-Id: I72d9fb8242d6a91c0aa481d5d023f0359c76a5ec Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com> diff --git a/src/target/mem_ap.c b/src/target/mem_ap.c index 61a9475e64..4114020776 100644 --- a/src/target/mem_ap.c +++ b/src/target/mem_ap.c @@ -75,7 +75,6 @@ static void mem_ap_deinit_target(struct target *target) free(target->private_config); free(target->arch_info); - return; } static int mem_ap_arch_state(struct target *target) --