From 2fbf50d6750182d768de111cbd40eb9dd0f627af Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Tue, 18 Jan 2022 19:32:35 +0100 Subject: bootctl: removed unused parameter only_auto Remove the parameter 'only_auto' from the function boot_entries_augment_from_loader() because each caller set it always to true. Signed-off-by: Goffredo Baroncelli --- src/shared/bootspec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/bootspec.h') diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h index 81845f47e3..4a95e24e27 100644 --- a/src/shared/bootspec.h +++ b/src/shared/bootspec.h @@ -76,7 +76,7 @@ static inline BootEntry* boot_config_default_entry(BootConfig *config) { void boot_config_free(BootConfig *config); int boot_entries_load_config(const char *esp_path, const char *xbootldr_path, BootConfig *config); int boot_entries_load_config_auto(const char *override_esp_path, const char *override_xbootldr_path, BootConfig *config); -int boot_entries_augment_from_loader(BootConfig *config, char **list, bool only_auto); +int boot_entries_augment_from_loader(BootConfig *config, char **list); static inline const char* boot_entry_title(const BootEntry *entry) { return entry->show_title ?: entry->title ?: entry->id; -- cgit v1.2.3