From 537793bb245750f4af992a04547f856d1a99cbfc Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Mon, 16 Sep 2024 10:45:17 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.openocd.org/c/openocd/+/8492 Tested-by: jenkins Reviewed-by: zapb --- src/target/mem_ap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/target/mem_ap.c b/src/target/mem_ap.c index 61a9475e6..411402077 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)