Переглянути джерело

telnet: purge unused global function

Sergey Alirzaev 5 роки тому
батько
коміт
9ecca7428e
1 змінених файлів з 0 додано та 17 видалено
  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];