sd-boot: encapsulate freq cache in ticks_freq()
authorLennart Poettering <lennart@poettering.net>
Tue, 8 Feb 2022 10:26:49 +0000 (11:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Feb 2022 12:46:20 +0000 (13:46 +0100)
commitfb63526f726772f8fea64830ec05d69c1a48a74e
tree9217f1d2c2881a2e83975e4bc658833d09bcfcbf
parentefbb86797df10ac72fe5ae29afc856d94700e2da
sd-boot: encapsulate freq cache in ticks_freq()

It's usually nicer to abstract a cache away in the provider of a value,
hence do so.
src/boot/efi/ticks.c