diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-02-24 18:48:14 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2024-02-25 09:43:39 +0100 |
commit | 2ce507f57ba9c78c080d4a050ebdc97263239de8 (patch) | |
tree | ba3feb55bf625a0ae514475cbc48966defe99831 /fs/efivarfs/internal.h | |
parent | 9ca01c7adf3993044f59934082087ebb9f7df6d5 (diff) | |
download | linux-2ce507f57ba9c78c080d4a050ebdc97263239de8.tar.gz linux-2ce507f57ba9c78c080d4a050ebdc97263239de8.tar.bz2 linux-2ce507f57ba9c78c080d4a050ebdc97263239de8.zip |
efivarfs: Drop 'duplicates' bool parameter on efivar_init()
The 'duplicates' bool argument is always true when efivar_init() is
called from its only caller so let's just drop it instead.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'fs/efivarfs/internal.h')
-rw-r--r-- | fs/efivarfs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efivarfs/internal.h b/fs/efivarfs/internal.h index 169252e6dc46..f7206158ee81 100644 --- a/fs/efivarfs/internal.h +++ b/fs/efivarfs/internal.h @@ -38,7 +38,7 @@ struct efivar_entry { int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *, struct list_head *), - void *data, bool duplicates, struct list_head *head); + void *data, struct list_head *head); int efivar_entry_add(struct efivar_entry *entry, struct list_head *head); void __efivar_entry_add(struct efivar_entry *entry, struct list_head *head); |