summaryrefslogtreecommitdiff
path: root/cmd/spi.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-07 06:02:33 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-07 18:08:20 +0100
commit173cd9e73ad833bf479cc5b400de5ca738ef7510 (patch)
tree2b727fddb47045daa207d4764e68f6218400a64b /cmd/spi.c
parent7b31efc54c3fba33d1305a0f9b730472bb0f63eb (diff)
downloadu-boot-173cd9e73ad833bf479cc5b400de5ca738ef7510.tar.gz
cmd: efidebug: simplify get_guid_text()
When we hit a matching GUID we can directly return the text. There is no need for a check after the loop. efi_guid_t is defined as 8 byte aligned but GUIDs in packed structures do not follow this alignment. Do not require the argument of get_guid_text() to be correctly aligned. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/spi.c')
0 files changed, 0 insertions, 0 deletions