mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
tpm: remove locty argument from receive_cb
The tpm_state is passed as argument, the assert() is pointless since we give it the value of tpm_state->locty_number already. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
54aa36d5c8
commit
d1fd6b563d
4 changed files with 5 additions and 9 deletions
|
@ -30,7 +30,7 @@
|
|||
typedef struct TPMBackendClass TPMBackendClass;
|
||||
typedef struct TPMBackend TPMBackend;
|
||||
|
||||
typedef void (TPMRecvDataCB)(TPMState *, uint8_t locty, bool selftest_done);
|
||||
typedef void (TPMRecvDataCB)(TPMState *, bool selftest_done);
|
||||
|
||||
struct TPMBackend {
|
||||
Object parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue