system/telnet: Fix the style warning

and remove the unused code

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-19 00:46:17 +08:00
committed by Masayuki Ishikawa
parent 58c3dbac95
commit 12863fbd52
5 changed files with 30 additions and 36 deletions

View File

@@ -33,16 +33,6 @@
#include "nshlib/nshlib.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* The NSH telnet console requires networking support (and TCP/IP) */
#ifndef CONFIG_NET
# undef CONFIG_NSH_TELNET
#endif
/****************************************************************************
* Public Functions
****************************************************************************/