]> git.ipfire.org Git - thirdparty/grub.git/commit
efi/tpm: Remove unused functions and structures
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Wed, 29 Jul 2020 13:31:14 +0000 (21:31 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 18 Sep 2020 20:31:29 +0000 (22:31 +0200)
commit6efd04f31468fe55b492258809731ada69392b33
tree086da014c9f18be238e02d1bee653f5a28a09b83
parentde094060acae32e33733f584140b0b4d7030da3d
efi/tpm: Remove unused functions and structures

Although the tpm_execute() series of functions are defined they are not
used anywhere. Several structures in the include/grub/efi/tpm.h header
file are not used too. There is even nonexistent grub_tpm_init()
declaration in this header. Delete all that unneeded stuff.

If somebody needs the functionality implemented in the dropped code then
he/she can re-add it later. Now it needlessly increases the GRUB
code/image size.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/efi/tpm.c
include/grub/tpm.h