[PATCH] efi_loader: Make tcg2_uninit() static

30 Oct
2024
30 Oct
'24
9:40 p.m.
This function is only used locally, so make it static and quiesce the W=1 warning
Signed-off-by: Ilias Apalodimas ilias.apalodimas@linaro.org --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 45f451ef6b6d..866a529857ef 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -789,7 +789,7 @@ static const struct efi_tcg2_protocol efi_tcg2_protocol = { /** * tcg2_uninit - remove the final event table and free efi memory on failures */ -void tcg2_uninit(void) +static void tcg2_uninit(void) { efi_status_t ret;
--
2.45.2
195
Age (days ago)
195
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ilias Apalodimas