projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33abdb9
)
tools: efivar.py unused variable
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 9 Jan 2021 01:20:45 +0000
(
02:20
+0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:00 +0000
(
02:38
+0100)
Unused variables should be called '_'.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
tools/efivar.py
patch
|
blob
|
history
diff --git
a/tools/efivar.py
b/tools/efivar.py
index
29eb90a
..
67729fa
100755
(executable)
--- 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()