diff options
| author | Paolo Bonzini | 2016-06-16 14:25:04 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2016-09-13 17:12:34 +0200 |
| commit | bc82585a8fd5d38e7c2402999a7ccc9a97d762c9 (patch) | |
| tree | 2cbb5544a8e6d4132a19ad19be67552661ed23c2 /scripts/switch-timer-api | |
| parent | arm: spelling fix: mismatch (diff) | |
| download | qemu-bc82585a8fd5d38e7c2402999a7ccc9a97d762c9.tar.gz qemu-bc82585a8fd5d38e7c2402999a7ccc9a97d762c9.tar.xz qemu-bc82585a8fd5d38e7c2402999a7ccc9a97d762c9.zip | |
vl: remove unnecessary duplicate call to tpm_cleanup
tpm_cleanup is called from main() and also registered with atexit from
tpm_init. The function only visits the tpm_backends linked list, and the
atexit registration happens right after tpm_init fills in the list from
-tpmdev options. Therefore, the direct call is unnecessary. Remove it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
