mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00: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:
committed by
Stefan Berger
parent
54aa36d5c8
commit
d1fd6b563d
@ -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;
|
||||
|
Reference in New Issue
Block a user