Message ID | 1600914018-12697-1-git-send-email-tiantao6@hisilicon.com |
---|---|
State | Accepted |
Commit | f5344e5d6ccb9ddf377202690a135bc64607c621 |
Headers | show |
Series | efi: Delete deprecated parameter comments | expand |
On Thu, 24 Sep 2020 at 04:22, Tian Tao <tiantao6@hisilicon.com> wrote: > > Delete deprecated parameter comments to fix warnings reported by make > W=1. > drivers/firmware/efi/vars.c:428: warning: Excess function parameter > 'atomic' description in 'efivar_init' > > Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Applied as a fix, thanks. > --- > drivers/firmware/efi/vars.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/firmware/efi/vars.c b/drivers/firmware/efi/vars.c > index 973eef2..274b0ee 100644 > --- a/drivers/firmware/efi/vars.c > +++ b/drivers/firmware/efi/vars.c > @@ -414,7 +414,6 @@ static void dup_variable_bug(efi_char16_t *str16, efi_guid_t *vendor_guid, > * efivar_init - build the initial list of EFI variables > * @func: callback function to invoke for every variable > * @data: function-specific data to pass to @func > - * @atomic: do we need to execute the @func-loop atomically? > * @duplicates: error if we encounter duplicates on @head? > * @head: initialised head of variable list > * > -- > 2.7.4 >
diff --git a/drivers/firmware/efi/vars.c b/drivers/firmware/efi/vars.c index 973eef2..274b0ee 100644 --- a/drivers/firmware/efi/vars.c +++ b/drivers/firmware/efi/vars.c @@ -414,7 +414,6 @@ static void dup_variable_bug(efi_char16_t *str16, efi_guid_t *vendor_guid, * efivar_init - build the initial list of EFI variables * @func: callback function to invoke for every variable * @data: function-specific data to pass to @func - * @atomic: do we need to execute the @func-loop atomically? * @duplicates: error if we encounter duplicates on @head? * @head: initialised head of variable list *
Delete deprecated parameter comments to fix warnings reported by make W=1. drivers/firmware/efi/vars.c:428: warning: Excess function parameter 'atomic' description in 'efivar_init' Signed-off-by: Tian Tao <tiantao6@hisilicon.com> --- drivers/firmware/efi/vars.c | 1 - 1 file changed, 1 deletion(-)