Pārlūkot izejas kodu

telnet: purge unused global function

Sergey Alirzaev 5 gadi atpakaļ
vecāks
revīzija
9ecca7428e
1 mainītis faili ar 0 papildinājumiem un 17 dzēšanām
  1. 0 17
      modules/Telnet_Server/telnet_server.c

+ 0 - 17
modules/Telnet_Server/telnet_server.c

@@ -194,23 +194,6 @@ static const int8_t * const pcEndOfCommandOutputString = ( int8_t * ) "\r\n[На
   */
 extern SETTINGS_t sSettings;
 
-/*-----------------------------------------------------------------------------------*/
-/**
- * Close a telnet session.
- *
- * This function can be called from a telnet command in order to close
- * the connection.
- *
- * \param s The connection which is to be closed.
- *
- */
-/*-----------------------------------------------------------------------------------*/
-void
-telnetd_close(telnetd_state_t *s)
-{
-	s->state = TELNET_STATE_CLOSE;
-}
-
 static void sendopt(telnetd_state_t *s, u8_t code, u8_t option)
 {
 	unsigned char buf[3];