All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] tools: efivar.py unused variable
@ 2021-01-09  1:36 Heinrich Schuchardt
  2021-01-11 14:14 ` Paulo Alcantara
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-01-09  1:36 UTC (permalink / raw)
  To: u-boot

Unused variables should be called '_'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 tools/efivar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/efivar.py b/tools/efivar.py
index 29eb90a235..67729fa850 100755
--- a/tools/efivar.py
+++ b/tools/efivar.py
@@ -292,7 +292,7 @@ def pkcs7_sign(cert, key, buf):

 # UEFI 2.8 Errata B "8.2.2 Using the EFI_VARIABLE_AUTHENTICATION_2 descriptor"
 def cmd_sign(args):
-    guid, name, attrs, data, size = parse_args(args)
+    guid, name, attrs, data, _ = parse_args(args)
     attrs |= EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
     efi = EfiStruct()

--
2.29.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/1] tools: efivar.py unused variable
  2021-01-09  1:36 [PATCH 1/1] tools: efivar.py unused variable Heinrich Schuchardt
@ 2021-01-11 14:14 ` Paulo Alcantara
  0 siblings, 0 replies; 2+ messages in thread
From: Paulo Alcantara @ 2021-01-11 14:14 UTC (permalink / raw)
  To: u-boot

Heinrich Schuchardt <xypron.glpk@gmx.de> writes:

> Unused variables should be called '_'.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  tools/efivar.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-11 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  1:36 [PATCH 1/1] tools: efivar.py unused variable Heinrich Schuchardt
2021-01-11 14:14 ` Paulo Alcantara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.