[diag] clean up unnecessary variables and code (#4102)

This commit is contained in:
Yakun Xu
2019-08-22 23:38:56 +08:00
committed by Jonathan Hui
parent 27cac08e8a
commit 79c61a5700
5 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -91,7 +91,6 @@ namespace ot {
namespace Cli {
const struct Command Interpreter::sCommands[] = {
{"help", &Interpreter::ProcessHelp},
{"bufferinfo", &Interpreter::ProcessBufferInfo},
{"channel", &Interpreter::ProcessChannel},
#if OPENTHREAD_FTD
@@ -140,6 +139,7 @@ const struct Command Interpreter::sCommands[] = {
{"extaddr", &Interpreter::ProcessExtAddress},
{"extpanid", &Interpreter::ProcessExtPanId},
{"factoryreset", &Interpreter::ProcessFactoryReset},
{"help", &Interpreter::ProcessHelp},
{"ifconfig", &Interpreter::ProcessIfconfig},
{"ipaddr", &Interpreter::ProcessIpAddr},
{"ipmaddr", &Interpreter::ProcessIpMulticastAddr},