]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
rtt: drop unused function rtt_started()
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 9 Nov 2024 17:51:52 +0000 (18:51 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Nov 2024 13:46:35 +0000 (13:46 +0000)
The function is not used.
Drop it!

Change-Id: I176c9d6ba077e36b762c14f9b877d5152992763c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8545
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
src/rtt/rtt.c
src/rtt/rtt.h

index e31e75410de8ca6d069a9a46e4213e11190c4f4a..42c3ee3ad4ef1beb061f594a40c02fb72f4dc39a 100644 (file)
@@ -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;
index a5630a951592635a9ad5811606381ef84b8a5c04..49409074c4ecb602679ca36226ff13f7d3c05e09 100644 (file)
@@ -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.
  *