diff options
author | Sergii Dmytruk <sergii.dmytruk@3mdeb.com> | 2022-10-29 16:57:07 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-05 14:46:43 +0000 |
commit | 0a89d5237edcec3015363e9a7a3bd8b014fec500 (patch) | |
tree | 71186da3863f0fc295ac60b60344f3c6e801eb0a /src/drivers/crb/tis.c | |
parent | 2393ad0bfb1cd23a0524e7b02a0fd75aff3bf274 (diff) |
security/tpm: remove tis_close()
This function was never called from outside of drivers and
src/drivers/pc80/tpm/tis.c was the only one doing it in a questionable
way.
tpm_vendor_cleanup() also isn't needed as one of tis_close() functions
was its only caller.
Change-Id: I9df76adfc21fca9fa1d1af7c40635ec0684ceb0f
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers/crb/tis.c')
-rw-r--r-- | src/drivers/crb/tis.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/drivers/crb/tis.c b/src/drivers/crb/tis.c index bb1cf218ad..a7d4fa7347 100644 --- a/src/drivers/crb/tis.c +++ b/src/drivers/crb/tis.c @@ -53,19 +53,6 @@ int tis_open(void) return 0; } -int tis_close(void) -{ - if (tpm_is_open) { - /* - * Do we need to do something here, like waiting for a - * transaction to stop? - */ - tpm_is_open = 0; - } - - return 0; -} - int tis_init(void) { struct tpm2_info info; |