mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
telnet_server: review unused symbols
Remove unused function Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Øyvind Harboe
parent
ec28c674af
commit
4af724df23
@@ -580,18 +580,6 @@ static int telnet_connection_closed(struct connection *connection)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int telnet_set_prompt(struct connection *connection, char *prompt)
|
||||
{
|
||||
struct telnet_connection *t_con = connection->priv;
|
||||
|
||||
if (t_con->prompt != NULL)
|
||||
free(t_con->prompt);
|
||||
|
||||
t_con->prompt = strdup(prompt);
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int telnet_init(char *banner)
|
||||
{
|
||||
struct telnet_service *telnet_service = malloc(sizeof(struct telnet_service));
|
||||
|
||||
Reference in New Issue
Block a user