qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] vl: remove unnecessary duplicate call to tpm_


From: Michael Tokarev
Subject: Re: [Qemu-trivial] [PATCH] vl: remove unnecessary duplicate call to tpm_cleanup
Date: Tue, 26 Jul 2016 15:30:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

16.06.2016 15:25, Paolo Bonzini wrote:
> 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.

Applied to -trivial. thanks!

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]