Skip to content

Commit

Permalink
rtt: drop unused function rtt_started()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
borneoa committed Nov 23, 2024
1 parent 644742b commit 4da8f6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/rtt/rtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 0 additions & 7 deletions src/rtt/rtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 4da8f6d

Please # to comment.