commit | c6fc502d95420dcbc417873254f20a86e0aa038b | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jan 07 06:02:33 2020 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jan 07 18:08:20 2020 +0100 |
tree | 2b727fddb47045daa207d4764e68f6218400a64b | |
parent | 91aab82f4019078b1f4952eeba6405b1a8e0f11b [diff] |
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>