efi_loader: Make tcg2_uninit() static

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>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Ilias Apalodimas
2024-10-30 22:40:59 +02:00
committed by Heinrich Schuchardt
parent 84b95e9189
commit c8c10b83ef

View File

@@ -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;