diff options
| author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-09-03 22:38:40 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-09-10 16:09:26 -0400 |
| commit | 26998367eb6153cd24b6e82949d5f7874a036372 (patch) | |
| tree | 4bf0bb53906e5cc38c7befe5e323370c9593cf19 /lib/variables.c | |
| parent | c1a84dc0a695782e55a97173e4f9f8a98432f9e1 (diff) | |
| download | efi-boot-shim-26998367eb6153cd24b6e82949d5f7874a036372.tar.gz efi-boot-shim-26998367eb6153cd24b6e82949d5f7874a036372.zip | |
pe: simplify generate_hash()
Copying the value of datasize_in to two further variables and then using
all three randomly in the code makes it hard to read.
datasize_in is never changed in generate_hash() so we can do with this
parameter alone. Rename it to datasize.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
