testing/irtest: Remove an unused function
This commit is contained in:
parent
f6f99c43aa
commit
961fface44
@ -69,20 +69,6 @@ static void print_cmd(const cmd *cmd)
|
|||||||
printf(")\n");
|
printf(")\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int print_cmd(const char *name)
|
|
||||||
{
|
|
||||||
for (int i = 0; g_cmd_table[i]; i++)
|
|
||||||
{
|
|
||||||
if (strcmp(name, g_cmd_table[i]->name) == 0)
|
|
||||||
{
|
|
||||||
print_cmd(g_cmd_table[i]);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return -ENOENT;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void print_all_cmds()
|
static void print_all_cmds()
|
||||||
{
|
{
|
||||||
for (int i = 0; g_cmd_table[i]; i++)
|
for (int i = 0; g_cmd_table[i]; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user