3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

client: remove unused function

This commit is contained in:
Tim Kourt 2017-04-28 11:56:52 -07:00 committed by Denis Kenzior
parent 6a06623b0d
commit b2ea962a67
2 changed files with 0 additions and 15 deletions

View File

@ -300,20 +300,6 @@ void display_command_line(const char *command_family,
l_free(cmd_line); l_free(cmd_line);
} }
void display_command(const struct command_family *family, const char *cmd_name)
{
size_t i;
for (i = 0; family->command_list[i].cmd; i++) {
if (!strcmp(family->command_list[i].cmd, cmd_name)) {
display_command_line(family->name,
&family->command_list[i]);
return;
}
}
}
static void display_completion_matches(char **matches, int num_matches, static void display_completion_matches(char **matches, int num_matches,
int max_length) int max_length)
{ {

View File

@ -35,7 +35,6 @@ void display(const char *format, ...);
void display_table_header(const char *caption, const char *fmt, ...); void display_table_header(const char *caption, const char *fmt, ...);
void display_table_footer(void); void display_table_footer(void);
void display_error(const char *error); void display_error(const char *error);
void display_command(const struct command_family *family, const char *cmd_name);
void display_command_line(const char *command_family, void display_command_line(const char *command_family,
const struct command *cmd); const struct command *cmd);