diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-02-16 12:12:39 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-02-20 11:09:33 +0100 |
commit | 08573d7688a8c133bd4a7354cf928f96e778b42a (patch) | |
tree | 3cf25acfe9347ff44356717f5f80894643e0c307 /lib/efi_loader/efi_memory.c | |
parent | bd8bc53162edde1970c04c472a8058c69bd71f3d (diff) |
lmb: avoid superfluous value check in lmb_map_update_notify()
Instead of testing the value of parameter op at runtime use an enum to
ensure that only valid values are used.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
0 files changed, 0 insertions, 0 deletions