From: openocd-gerrit <ope...@us...> - 2024-11-23 13:46:56
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 4da8f6d27a076a4a64c0d334cb647fdde08938a1 (commit) from 644742b4b218eefd855dc636ccea25b769e80315 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4da8f6d27a076a4a64c0d334cb647fdde08938a1 Author: Antonio Borneo <bor...@gm...> Date: Sat Nov 9 18:51:52 2024 +0100 rtt: drop unused function rtt_started() The function is not used. Drop it! Change-Id: I176c9d6ba077e36b762c14f9b877d5152992763c Signed-off-by: Antonio Borneo <bor...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/8545 Tested-by: jenkins Reviewed-by: zapb <de...@za...> diff --git a/src/rtt/rtt.c b/src/rtt/rtt.c index e31e75410..42c3ee3ad 100644 --- a/src/rtt/rtt.c +++ b/src/rtt/rtt.c @@ -297,11 +297,6 @@ int rtt_write_channel(unsigned int channel_index, const uint8_t *buffer, length, NULL); } -bool rtt_started(void) -{ - return rtt.started; -} - bool rtt_configured(void) { return rtt.configured; diff --git a/src/rtt/rtt.h b/src/rtt/rtt.h index a5630a951..49409074c 100644 --- a/src/rtt/rtt.h +++ b/src/rtt/rtt.h @@ -194,13 +194,6 @@ int rtt_get_polling_interval(unsigned int *interval); */ int rtt_set_polling_interval(unsigned int interval); -/** - * Get whether RTT is started. - * - * @returns Whether RTT is started. - */ -bool rtt_started(void); - /** * Get whether RTT is configured. * ----------------------------------------------------------------------- Summary of changes: src/rtt/rtt.c | 5 ----- src/rtt/rtt.h | 7 ------- 2 files changed, 12 deletions(-) hooks/post-receive -- Main OpenOCD repository |