From c37cacabf2285b0731b44c1f667781fdd4f2b658 Mon Sep 17 00:00:00 2001 From: Amarnath Valluri Date: Fri, 29 Sep 2017 14:10:21 +0300 Subject: tpm: Move tpm_cleanup() to right place As Emulator TPM backend uses chardev, tpm cleanup should happen before chardev similar to other vhost-users. Signed-off-by: Amarnath Valluri Reviewed-by: Stefan Berger Signed-off-by: Stefan Berger --- tpm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tpm.c') diff --git a/tpm.c b/tpm.c index 3b8c7ed3b6..3122227156 100644 --- a/tpm.c +++ b/tpm.c @@ -172,7 +172,6 @@ int tpm_init(void) return -1; } - atexit(tpm_cleanup); return 0; } -- cgit v1.2.1