mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
client: remove unused function
This commit is contained in:
parent
6a06623b0d
commit
b2ea962a67
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user