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/+/8545
-- gerrit commit 09c0f836dd841e1530fd30f3a66f556fd3f6e1a3 Author: Antonio Borneo <borneo.anto...@gmail.com> 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 <borneo.anto...@gmail.com> diff --git a/src/rtt/rtt.c b/src/rtt/rtt.c index e31e75410d..42c3ee3ad4 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 a5630a9515..49409074c4 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. * --