Skip to content

Commit

Permalink
target: mem_ap: drop return from void function
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/8492
Tested-by: jenkins
Reviewed-by: zapb <[email protected]>
  • Loading branch information
borneoa committed Oct 5, 2024
1 parent 39f0249 commit 537793b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/target/mem_ap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 537793b

Please sign in to comment.