diff options
| author | Ilias Apalodimas <[email protected]> | 2024-10-30 22:40:59 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-10-31 06:05:08 +0100 |
| commit | c8c10b83ef0a7a04ba40223c841f6f721d9a28a3 (patch) | |
| tree | de9a9d4393f67b45e4a13fc3dcf687b19848238b /lib | |
| parent | 84b95e918942d0e29e3634d265694030f76faf5a (diff) | |
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 <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/efi_loader/efi_tcg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 45f451ef6b6..866a529857e 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; |
