From 4da8f6d27a076a4a64c0d334cb647fdde08938a1 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 9 Nov 2024 18:51:52 +0100 Subject: [PATCH] rtt: drop unused function rtt_started() The function is not used. Drop it! Change-Id: I176c9d6ba077e36b762c14f9b877d5152992763c Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8545 Tested-by: jenkins Reviewed-by: zapb --- src/rtt/rtt.c | 5 ----- src/rtt/rtt.h | 7 ------- 2 files changed, 12 deletions(-) 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. *