]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: modernize measure.c
authorLennart Poettering <lennart@poettering.net>
Mon, 20 Sep 2021 11:33:18 +0000 (13:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Sep 2021 20:18:12 +0000 (22:18 +0200)
commitff3aa8d1e02e415e411e64a4a69bcc489ef3649f
tree224ec581f4c5f3cfaf5259c4c80b25a8e2fbc766
parentb4f25c649d6bcf697ab5e77a5d8aecf4d0503580
boot: modernize measure.c

Let's use _cleanup_freepool_, compound literals for initialization,
OFFSETOF() and let's remove some unnecessary casts.

No change in behaviour.
src/boot/efi/measure.c